瀏覽代碼

Wesmiler 人人车 初始化项目 0816

APPLE 3 年之前
父節點
當前提交
d9a93bdeb7
共有 1 個文件被更改,包括 1 次插入1 次删除
  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());
         }