1
This commit is contained in:
parent
a81757dbeb
commit
432871a78b
@ -377,6 +377,7 @@ class UserController extends BaseAuthedController {
|
||||
$userInfo['total_lucky'] = Hero::getAccountLuckyTemp();
|
||||
$userInfo['admission_item_num'] = myself()->_getItemCount(900006, $userInfo);
|
||||
$userInfo['circuit_score'] = myself()->_callModelStatic('Circuit', 'getCurrentMyScore');
|
||||
$userInfo['has_lucky_symbol'] = myself()->_callModelStatic('LuckySymbol', 'hasLuckySymbol');
|
||||
}
|
||||
$heroDb = Hero::findByAccountId(myself()->_getAccountId(), $userInfo['hero_uniid']);
|
||||
if (!$heroDb) {
|
||||
|
@ -16,7 +16,8 @@ class LuckySymbol extends BaseModel {
|
||||
'account_id' => myself()->_getAccountId(),
|
||||
)
|
||||
);
|
||||
return empty($row) ? false : $row['in_use_item'] > 0;
|
||||
$has = empty($row) ? false : $row['in_use_item'] > 0;
|
||||
return $has ? 1 : 0;
|
||||
}
|
||||
|
||||
public static function dec()
|
||||
|
Loading…
x
Reference in New Issue
Block a user