This commit is contained in:
aozhiwei 2021-11-25 12:12:14 +08:00
parent 2e8588f155
commit de9e460af2
2 changed files with 10 additions and 10 deletions

View File

@ -124,7 +124,7 @@ class BaseAuthedController extends BaseController {
{
$row = phpcommon\SqlHelper::ormSelectOne
($this->getSelfMysql(),
'user',
't_user',
array(
'accountid' => $this->getAccountId()
)
@ -532,14 +532,14 @@ class BaseAuthedController extends BaseController {
protected function getDtoUser($userInfo)
{
return array(
'name' => $userInfo['user_name'],
'name' => $userInfo['name'],
'sex' => $userInfo['sex'],
'head_id' => $userInfo['hi_id'],
'head_frame' => $userInfo['head_kuang_id'],
'level' => $userInfo['lv'],
'exp' => $userInfo['lv_exp'],
'gold' => $userInfo['coin_num'],
'diamond' => $userInfo['diamond_num'],
'head_id' => $userInfo['hero_id'],
'head_frame' => $userInfo['head_frame'],
'level' => $userInfo['level'],
'exp' => $userInfo['exp'],
'gold' => $userInfo['gold'],
'diamond' => $userInfo['diamond'],
'hero_id' => $userInfo['hero_id'],
'first_fight' => $userInfo['first_fight'],
);

View File

@ -66,8 +66,8 @@ class UserController extends BaseAuthedController {
#'integral' => 0,
#'season_time' => mt\Season::getCurrSeasonTime(),
#'team_name' => '',
'create_time' => $this->getNowTime(),
'modify_time' => $this->getNowTime(),
'createtime' => $this->getNowTime(),
'modifytime' => $this->getNowTime(),
)
);
{