行为日志

master
zhanglingsheng 5 years ago
parent b70400b80a
commit a1e2bafa00

@ -1225,7 +1225,7 @@ class UserController extends BaseController
$log['uid'] = $user['user_id'];
$log['game_id'] = $user['game_id'];
$log['type'] = 3;
if($type == 0) {
if($type === 0) {
$log['type'] = 4;
}
$log['action'] = $user = base64_decode(file_get_contents("php://input"));
@ -2387,6 +2387,9 @@ class UserController extends BaseController
$this -> set_message(0, "fail", "找不到该用户!");
}
$request['user_id'] = (!empty($user['id'])) ? $user['id'] : 0;
$this->add_user_play($request, false, 0);
$da = array(
'user_id' => $user['id'],
'user_account' => $user['account'],
@ -2746,7 +2749,7 @@ class UserController extends BaseController
}
}
$request['user_id'] = (!empty($request['user_id'])) ? $request['user_id'] : 0;
$this->add_user_play($request, false, $request['mark']);
$data = array(

Loading…
Cancel
Save