领取免费英雄武器

This commit is contained in:
hujiabin 2022-10-19 15:08:07 +08:00
parent ca9f1a2ee2
commit b8fdaca99c
2 changed files with 8 additions and 7 deletions

View File

@ -143,6 +143,7 @@ class UserInfo(object):
['already_guide', 0, '是否已经引导'], ['already_guide', 0, '是否已经引导'],
['pve_instance_id', 0, '已过pve副本id 0:一关未过'], ['pve_instance_id', 0, '已过pve副本id 0:一关未过'],
['!head_list', [0], '拥有的头像列表'], ['!head_list', [0], '拥有的头像列表'],
['!hero_list', [0], '拥有的立绘背景列表'],
['!head_frame_list', [0], '拥有的头像框列表'], ['!head_frame_list', [0], '拥有的头像框列表'],
['is_gain_item', 0, '0 为获取1 以获取'], ['is_gain_item', 0, '0 为获取1 以获取'],
] ]

View File

@ -46,9 +46,9 @@ class User extends BaseModel {
'already_guide' => $row['already_guide'], 'already_guide' => $row['already_guide'],
'pve_instance_id' => $row['pve_instance_id'], 'pve_instance_id' => $row['pve_instance_id'],
'like_count' => $row['like_count'], 'like_count' => $row['like_count'],
'head_list' => self::getHeadList($row), // 'head_list' => self::getHeadList($row),
// 'head_list' => self::exportHeadList($row)['head_list'], 'head_list' => self::exportHeadList($row)['head_list'],
// 'hero_list' => self::exportHeadList($row)['hero_list'], 'hero_list' => self::exportHeadList($row)['hero_list'],
'head_frame_list' => emptyReplace(json_decode($row['head_frame_list'], true), array()), 'head_frame_list' => emptyReplace(json_decode($row['head_frame_list'], true), array()),
'is_gain_item' => $row['is_gain_item'], 'is_gain_item' => $row['is_gain_item'],
); );
@ -76,9 +76,9 @@ class User extends BaseModel {
'hero_id' => $row['hero_id'], 'hero_id' => $row['hero_id'],
'first_fight' => $row['first_fight'], 'first_fight' => $row['first_fight'],
'already_guide' => $row['already_guide'], 'already_guide' => $row['already_guide'],
'head_list' => self::getHeadList($row), // 'head_list' => self::getHeadList($row),
// 'head_list' => self::exportHeadList($row)['head_list'], 'head_list' => self::exportHeadList($row)['head_list'],
// 'hero_list' => self::exportHeadList($row)['hero_list'], 'hero_list' => self::exportHeadList($row)['hero_list'],
'pve_instance_id' => $row['pve_instance_id'], 'pve_instance_id' => $row['pve_instance_id'],
'like_count' => $row['like_count'], 'like_count' => $row['like_count'],
'head_frame_list' => emptyReplace(json_decode($row['head_frame_list'], true), array()), 'head_frame_list' => emptyReplace(json_decode($row['head_frame_list'], true), array()),