WIN-2308041133\Administrator 5 月之前
父节点
当前提交
79fb3aa559
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/Pay.php

+ 1 - 1
application/api/controller/Pay.php

@@ -912,7 +912,7 @@ class Pay extends Api
                     $this->success(__('操作成功'));
                 } catch (Exception $e) {
                     Db::rollback();
-                    $this->error($e->getMessage());
+                    $this->error($e->getLine(),$e->getMessage());
                 }
             } else if ($data['type'] > 1) {
                 $this->error(__('已经支付'));