Commit 6b080cd0 by 杨昕

test

parent 1a797bea
Pipeline #10882 passed with stages
in 40 seconds
...@@ -336,7 +336,7 @@ class MediaModel extends Eloquent ...@@ -336,7 +336,7 @@ class MediaModel extends Eloquent
$flag = MediaModel::where("_id",$id)->update($data); $flag = MediaModel::where("_id",$id)->update($data);
if (!$flag){ if (!$flag){
throw new \Exception("更新失败"); LogModel::addlog(["更新失败=>".$id,$data]);
} }
LogModel::addlog(["更新媒资信息=>".$id,$data]); LogModel::addlog(["更新媒资信息=>".$id,$data]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment