Merge branch 'feature/add_opertion_log' of 47.111.118.107:wmtx/platform into feature/add_opertion_log

master
chenzhi 5 years ago
commit 02d36af96a

@ -167,6 +167,8 @@ class TestWhiteListController extends ThinkController
$data['add_user'] = $_SESSION['onethink_admin']['user_auth']['username'];
$data['create_ime'] = time();
M('user','tab_')->where(array('id'=>$data['user_id']))->save(['check_status'=>$data['show_status']]);
$whiteList = M('test_white_list','tab_')->add($data);
if($whiteList) {
//操作日志

Loading…
Cancel
Save