Commit 14f51baa by 杨昕

添加媒资日志

parent 11573d14
Pipeline #10245 passed with stages
in 41 seconds
...@@ -186,6 +186,8 @@ class MediaModel extends Eloquent ...@@ -186,6 +186,8 @@ class MediaModel extends Eloquent
} }
$id = MediaModel::insertGetId($data); $id = MediaModel::insertGetId($data);
LogModel::addlog(["添加媒资信息"=> $data]);
}catch (\Exception $exception){ }catch (\Exception $exception){
throw new DatabaseException($exception->getMessage()); throw new DatabaseException($exception->getMessage());
} }
......
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