Browse Source

Wesmiler 人人车 初始化项目 0816

APPLE 3 năm trước cách đây
mục cha
commit
d9a93bdeb7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      application/api/controller/v1/Wechat.php

+ 1 - 1
application/api/controller/v1/Wechat.php

@@ -633,7 +633,7 @@ class Wechat extends ApiController
             Db::commit();
             return $response->send(); // Laravel 里请使用:return $response;
         } catch (Exception $e) {
-            Log::error('支付错误:' . $e->getMessage());
+            app()->log('支付错误:' . $e->getMessage(),'pay');
             Db::rollback();
             return $this->ApiJson(-1, "支付返回时错误!" . $e->getMessage());
         }