Commit 0cd4fba0 by 杨昕

sf

parent 6b080cd0
Pipeline #10884 passed with stages
in 42 seconds
...@@ -654,7 +654,8 @@ class MediaModel extends Eloquent ...@@ -654,7 +654,8 @@ class MediaModel extends Eloquent
$flag = MediaModel::where("_id",$media_id)->update($data); $flag = MediaModel::where("_id",$media_id)->update($data);
if (!$flag){ if (!$flag){
throw new \Exception("Status更新失败"); LogModel::addlog("Status更新失败");
//throw new \Exception("Status更新失败");
} }
LogModel::addlog(["更新媒资信息Status=>".$media_id,$data]); LogModel::addlog(["更新媒资信息Status=>".$media_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