This commit is contained in:
aozhiwei 2021-11-26 16:00:50 +08:00
parent d66cd270ea
commit 2ccfe917bd
3 changed files with 6 additions and 15 deletions

View File

@ -62,8 +62,8 @@ CREATE TABLE `t_hero` (
`hero_exp` int(11) NOT NULL DEFAULT '0' COMMENT '英雄等级',
`yoke_lv` int(11) NOT NULL DEFAULT '0' COMMENT '羁绊等级',
`yoke_exp` int(11) NOT NULL DEFAULT '0' COMMENT '羁绊经验',
`skill_lv1` int(11) NOT NULL DEFAULT '1' COMMENT '必杀技等级',
`skill_lv2` int(11) NOT NULL DEFAULT '1' COMMENT '躲避技能等级',
`skill_lv1` int(11) NOT NULL DEFAULT '0' COMMENT '必杀技等级',
`skill_lv2` int(11) NOT NULL DEFAULT '0' COMMENT '躲避技能等级',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`),

View File

@ -199,14 +199,6 @@ class BaseAuthedController extends BaseController {
public function _isVirtualItem($itemId)
{
$isVirtualItem = false;
if($itemId == $this->goldID)
{
$isVirtualItem = true;
}
else if($itemId == $this->lotteryID)
{
$isVirtualItem = true;
}
return $isVirtualItem;
}
@ -235,10 +227,9 @@ class BaseAuthedController extends BaseController {
array(
'accountid' => $this->_getAccountId(),
'item_id' => $item['item_id'],
'color_id' => 0,
'status' => 1,
'active_time' => 0,
'item_num' => $item['item_num'],
'item_num' => 1,
'item_state' => 0,
'try_expire_time' => 0,
'createtime' => $this->_getNowTime(),
'modifytime' => $this->_getNowTime()
)

View File

@ -53,7 +53,7 @@ class HeroSkin extends BaseModel {
'skin_state' => 0,
'get_from' => 0,
'consume_num' => 0,
'trytime' => 0,
'try_expire_time' => 0,
'createtime' => myself()->_getNowTime(),
'modifytime' => myself()->_getNowTime()
)