1
This commit is contained in:
commit
15fb99d28b
@ -127,6 +127,7 @@ class UserInfo(object):
|
||||
['hero_id', 0, '当前使用的英雄ID'],
|
||||
['first_fight', 0, '是否是第一次战斗'],
|
||||
['already_guide', 0, '是否已经引导'],
|
||||
['pve_instance_id', 0, '已过pve副本id 0:一关未过'],
|
||||
['!head_list', [0], '拥有的头像列表'],
|
||||
['!head_frame_list', [0], '拥有的头像框列表'],
|
||||
]
|
||||
@ -147,6 +148,7 @@ class UserSimple(object):
|
||||
['hero_id', 0, '当前使用的英雄ID'],
|
||||
['rank', 0, '段位'],
|
||||
['score', 0, '积分'],
|
||||
['pve_instance_id', 0, '已过pve副本id 0:一关未过'],
|
||||
]
|
||||
|
||||
class BcUserInfo(object):
|
||||
|
@ -48,6 +48,7 @@ CREATE TABLE `t_user` (
|
||||
`rename_count` int(11) NOT NULL DEFAULT '0' COMMENT '改名次数',
|
||||
`activatetime` int(11) NOT NULL DEFAULT '0' COMMENT '激活时间',
|
||||
`already_guide` int(11) NOT NULL DEFAULT '0' COMMENT '已引导',
|
||||
`pve_instance_id` int(11) NOT NULL DEFAULT '0' COMMENT '已过pve副本id',
|
||||
`head_list` mediumblob COMMENT '拥有的头像列表',
|
||||
`head_frame_list` mediumblob COMMENT '拥有的头像框列表',
|
||||
`consume_gold` bigint NOT NULL DEFAULT '0' COMMENT '消费金币数',
|
||||
|
@ -43,6 +43,7 @@ class User extends BaseModel {
|
||||
'hero_id' => $row['hero_id'],
|
||||
'first_fight' => $row['first_fight'],
|
||||
'already_guide' => $row['already_guide'],
|
||||
'pve_instance_id' => $row['pve_instance_id'],
|
||||
'head_list' => self::getHeadList($row),
|
||||
'head_frame_list' => emptyReplace(json_decode($row['head_frame_list'], true), array()),
|
||||
);
|
||||
@ -70,6 +71,7 @@ class User extends BaseModel {
|
||||
'first_fight' => $row['first_fight'],
|
||||
'already_guide' => $row['already_guide'],
|
||||
'head_list' => self::getHeadList($row),
|
||||
'pve_instance_id' => $row['pve_instance_id'],
|
||||
'head_frame_list' => emptyReplace(json_decode($row['head_frame_list'], true), array()),
|
||||
);
|
||||
}
|
||||
@ -90,6 +92,7 @@ class User extends BaseModel {
|
||||
'gold' => $row['gold'],
|
||||
'diamond' => $row['diamond'],
|
||||
'hero_id' => $row['hero_id'],
|
||||
'pve_instance_id' => $row['pve_instance_id'],
|
||||
'first_fight' => $row['first_fight'],
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user