|
|
@ -1418,12 +1418,13 @@ class UserController extends BaseController
|
|
|
|
$data['pipuid'] = $user_data['puid'];
|
|
|
|
$data['pipuid'] = $user_data['puid'];
|
|
|
|
|
|
|
|
|
|
|
|
Log::write('save_user_play_info:' . date('Y-m-d H:i:s') . ' ---- ' . json_encode($data), 'INFO');
|
|
|
|
Log::write('save_user_play_info:' . date('Y-m-d H:i:s') . ' ---- ' . json_encode($data), 'INFO');
|
|
|
|
$log['uid'] = $user_id;
|
|
|
|
// 上传角色行为日志停止
|
|
|
|
|
|
|
|
/* $log['uid'] = $user_id;
|
|
|
|
$log['game_id'] = $request['game_id'];
|
|
|
|
$log['game_id'] = $request['game_id'];
|
|
|
|
$log['action'] = json_encode($request);
|
|
|
|
$log['action'] = json_encode($request);
|
|
|
|
$log['type'] = 5;
|
|
|
|
$log['type'] = 5;
|
|
|
|
$log['remarks'] = json_encode($data);
|
|
|
|
$log['remarks'] = json_encode($data);
|
|
|
|
log_action($log);
|
|
|
|
log_action($log); */
|
|
|
|
if ($res['id']>0) {
|
|
|
|
if ($res['id']>0) {
|
|
|
|
$user_play->save($data);
|
|
|
|
$user_play->save($data);
|
|
|
|
// $this->updateLoginRecord($data); // 取消更新登入记录的角色相关信息
|
|
|
|
// $this->updateLoginRecord($data); // 取消更新登入记录的角色相关信息
|
|
|
|