This commit is contained in:
aozhiwei 2022-03-03 15:27:23 +08:00
parent ffa175861d
commit b8573fb101
3 changed files with 14 additions and 0 deletions

View File

@ -52,6 +52,18 @@ class User(object):
['property_chg', _common.PropertyChg(), '属性变更'], ['property_chg', _common.PropertyChg(), '属性变更'],
] ]
}, },
{
'name': 'setAlreadyGuide',
'desc': '设置为已引导状态',
'group': 'User',
'url': 'webapp/index.php?c=User&a=setAlreadyGuide',
'params': [
],
'response': [
_common.RspHead(),
['property_chg', _common.PropertyChg(), '属性变更'],
]
},
{ {
'name': 'update', 'name': 'update',
'desc': '更新用户信息', 'desc': '更新用户信息',

View File

@ -121,6 +121,7 @@ class UserInfo(object):
['hero_uniid', 0, '当前使用的英雄唯一ID'], ['hero_uniid', 0, '当前使用的英雄唯一ID'],
['hero_id', 0, '当前使用的英雄ID'], ['hero_id', 0, '当前使用的英雄ID'],
['first_fight', 0, '是否是第一次战斗'], ['first_fight', 0, '是否是第一次战斗'],
['already_guide', 0, '是否已经引导'],
['!head_list', [0], '拥有的头像列表'], ['!head_list', [0], '拥有的头像列表'],
['!head_frame_list', [0], '拥有的头像框列表'], ['!head_frame_list', [0], '拥有的头像框列表'],
] ]

View File

@ -45,6 +45,7 @@ CREATE TABLE `t_user` (
`last_season_id` int(11) NOT NULL DEFAULT '0' COMMENT '最后一次赛季id', `last_season_id` int(11) NOT NULL DEFAULT '0' COMMENT '最后一次赛季id',
`activated` int(11) NOT NULL DEFAULT '0' COMMENT '是否已激活', `activated` int(11) NOT NULL DEFAULT '0' COMMENT '是否已激活',
`activatetime` int(11) NOT NULL DEFAULT '0' COMMENT '激活时间', `activatetime` int(11) NOT NULL DEFAULT '0' COMMENT '激活时间',
`already_guide` int(11) NOT NULL DEFAULT '0' COMMENT '已引导',
`head_list` mediumblob COMMENT '拥有的头像列表', `head_list` mediumblob COMMENT '拥有的头像列表',
`head_frame_list` mediumblob COMMENT '拥有的头像框列表', `head_frame_list` mediumblob COMMENT '拥有的头像框列表',
`consume_gold` bigint NOT NULL DEFAULT '0' COMMENT '消费金币数', `consume_gold` bigint NOT NULL DEFAULT '0' COMMENT '消费金币数',