This commit is contained in:
aozhiwei 2021-12-02 15:53:21 +08:00
parent 449531bdaa
commit 61d4bd36ad
2 changed files with 4 additions and 1 deletions

View File

@ -34,8 +34,9 @@ CREATE TABLE `t_user` (
`head_id` int(11) NOT NULL DEFAULT '0' COMMENT '头像id',
`head_frame` int(11) NOT NULL DEFAULT '0' COMMENT '头像框id',
`level` int(11) NOT NULL DEFAULT '0' COMMENT '等级',
`rank` int(11) NOT NULL DEFAULT '0' COMMENT '段位',
`exp` int(11) NOT NULL DEFAULT '0' COMMENT '经验',
`rank` int(11) NOT NULL DEFAULT '0' COMMENT '段位',
`score` int(11) NOT NULL DEFAULT '0' COMMENT '积分',
`gold` int(11) NOT NULL DEFAULT '0' COMMENT '金币',
`diamond` int(11) NOT NULL DEFAULT '0' COMMENT '钻石',
`hero_id` int(11) NOT NULL DEFAULT '0' COMMENT '当前上阵英雄id',

View File

@ -66,6 +66,8 @@ class UserController extends BaseAuthedController {
'head_frame' => 19003,
'level' => 100,
'exp' => 0,
'rank' => 0,
'score' => 0,
'head_id' => 18001,
'hero_id' => 30100,
'createtime' => $this->_getNowTime(),