浏览代码

专题写入失败

gorden 3 月之前
父节点
当前提交
e36a81faef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controller/Curd.php

+ 1 - 1
app/controller/Curd.php

@@ -127,7 +127,7 @@ class Curd
         } catch (BusinessException $e) {
             return json_fail($e->getMessage());
         } catch (\Exception $e) {
-            dump($e->getMessage());
+            Log::error("数据更新失败",['msg'=>$e->getMessage()]);
             return json_fail('数据更新失败');
         }