Browse Source

专题写入失败

gorden 3 months ago
parent
commit
e36a81faef
1 changed files with 1 additions and 1 deletions
  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('数据更新失败');
         }