Browse Source

打日志

master
Mr. Shuixiang 5 years ago
parent
commit
3ce52ad947
  1. 5
      app/Service/v3/Implementations/UserInfoService.php

5
app/Service/v3/Implementations/UserInfoService.php

@ -29,6 +29,7 @@ class UserInfoService implements UserInfoServiceInterface
public function do($userId, $iv, $encryptedData)
{
try {
$ssdb = ApplicationContext::getContainer()->get(SSDBTask::class);
$user = $ssdb->exec('hgetall', SsdbKeys::USER_INFO.$userId);
@ -63,6 +64,10 @@ class UserInfoService implements UserInfoServiceInterface
}
return $res;
} catch (\Exception $e) {
throw new ErrorCodeException(ErrorCode::USER_INFO_UPDATE_ERROR,'更新用户信息失败',['error_msg' => $e->getMessage()]);
}
}
public function check($userId)

Loading…
Cancel
Save