Commit 6586bf25 by lzzzzl

增加日志功能

parent 393a621e
Showing with 1 additions and 1 deletions
......@@ -76,7 +76,7 @@ class SpiderModel extends Model
$collect['start_time'] = strtotime($collect['start_time']);
unset($collect['s']);
$return = $this->insert($collect);
$return = $this->writeLog($user_id, '插入新任务', json_encode($collect), json_encode(['result' => $return]));
$this->writeLog($user_id, '插入新任务', json_encode($collect), json_encode(['result' => $return]));
return $return;
}
......
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 sign in to comment