1
This commit is contained in:
parent
90502615f4
commit
af53f3ad65
@ -507,6 +507,10 @@ class UserController extends BaseAuthedController {
|
||||
return;
|
||||
}
|
||||
$userInfo = User::Info($userDb);
|
||||
{
|
||||
$userInfo['total_lucky'] = Hero::getAccountLucky($userInfo['address']);
|
||||
$userInfo['admission_item_num'] = myself()->_getItemCount(900006, $userInfo);
|
||||
}
|
||||
$heroDb = Hero::findByAccountId(myself()->_getAccountId(), $userInfo['hero_uniid']);
|
||||
if (!$heroDb) {
|
||||
$this->_rspErr(1, 'Hero does not exist');
|
||||
|
Loading…
x
Reference in New Issue
Block a user