1
This commit is contained in:
parent
432871a78b
commit
a7502c2950
@ -417,6 +417,7 @@ class UserController extends BaseAuthedController {
|
|||||||
$userInfo['total_lucky'] = Hero::getAccountLuckyTemp();
|
$userInfo['total_lucky'] = Hero::getAccountLuckyTemp();
|
||||||
$userInfo['admission_item_num'] = myself()->_getItemCount(900006, $userInfo);
|
$userInfo['admission_item_num'] = myself()->_getItemCount(900006, $userInfo);
|
||||||
$userInfo['circuit_score'] = myself()->_callModelStatic('Circuit', 'getCurrentMyScore');
|
$userInfo['circuit_score'] = myself()->_callModelStatic('Circuit', 'getCurrentMyScore');
|
||||||
|
$userInfo['has_lucky_symbol'] = myself()->_callModelStatic('LuckySymbol', 'hasLuckySymbol');
|
||||||
}
|
}
|
||||||
$heroDb = Hero::findByAccountId(myself()->_getAccountId(), $userInfo['hero_uniid']);
|
$heroDb = Hero::findByAccountId(myself()->_getAccountId(), $userInfo['hero_uniid']);
|
||||||
if (!$heroDb) {
|
if (!$heroDb) {
|
||||||
@ -457,6 +458,7 @@ class UserController extends BaseAuthedController {
|
|||||||
$userInfo['total_lucky'] = Hero::getAccountLuckyTemp();
|
$userInfo['total_lucky'] = Hero::getAccountLuckyTemp();
|
||||||
$userInfo['admission_item_num'] = myself()->_getItemCount(900006, $userInfo);
|
$userInfo['admission_item_num'] = myself()->_getItemCount(900006, $userInfo);
|
||||||
$userInfo['circuit_score'] = myself()->_callModelStatic('Circuit', 'getCurrentMyScore');
|
$userInfo['circuit_score'] = myself()->_callModelStatic('Circuit', 'getCurrentMyScore');
|
||||||
|
$userInfo['has_lucky_symbol'] = myself()->_callModelStatic('LuckySymbol', 'hasLuckySymbol');
|
||||||
}
|
}
|
||||||
$heroDb = Hero::findByAccountId(myself()->_getAccountId(), $heroUniId);
|
$heroDb = Hero::findByAccountId(myself()->_getAccountId(), $heroUniId);
|
||||||
if (!$heroDb) {
|
if (!$heroDb) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user