...
|
...
|
@@ -87,14 +87,15 @@ class AdminBaseController extends BaseController |
|
|
* @param $postData
|
|
|
*/
|
|
|
public function addTeamLog($team_id,$model,$action,$postData){
|
|
|
$data['admin_id']=$this->getAdminTeamId();
|
|
|
$data['admin_id']=cmf_get_current_admin_id();
|
|
|
$data['team_id']=$team_id;
|
|
|
$data['team_name']=\db('team')->where('id',$team_id)->value('name');
|
|
|
$data['model']=$model;
|
|
|
$data['action_name']=$action;
|
|
|
$data['data']=json_encode($postData,true);
|
|
|
$data['create_time']=time();
|
|
|
\db('admin_log')->insert($data);
|
|
|
$result=\db('admin_log')->insert($data);
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|