This commit is contained in:
hujiabin 2024-04-24 15:55:38 +08:00
parent 34a0aac467
commit 2ffff4f3c4
3 changed files with 4 additions and 0 deletions

View File

@ -335,6 +335,7 @@ class Item(object):
['item_uniid', 0, '道具唯一id'], ['item_uniid', 0, '道具唯一id'],
['item_id', 0, '道具id'], ['item_id', 0, '道具id'],
['item_num', 0, '道具数量'], ['item_num', 0, '道具数量'],
['is_new', 0, '0:展示红点 1:不用展示'],
['!attr', [Attr()], '属性'], ['!attr', [Attr()], '属性'],
] ]
@ -891,6 +892,7 @@ class Chip(object):
['!rand_attr', [ChipAttr()], '属性'], ['!rand_attr', [ChipAttr()], '属性'],
['tags', '', '1Gen状态'], ['tags', '', '1Gen状态'],
['quality', '', '品阶'], ['quality', '', '品阶'],
['is_new', '', '0:展示红点 1:不用展示'],
] ]
class ChipPro(object): class ChipPro(object):

View File

@ -100,6 +100,7 @@ class Bag extends BaseModel {
'attr' => emptyReplace(json_decode($row['rand_attr'], true), array()), 'attr' => emptyReplace(json_decode($row['rand_attr'], true), array()),
'today_get_gold' => $todayGetGold, 'today_get_gold' => $todayGetGold,
'last_get_gold_time' => $lastGetGoldTime, 'last_get_gold_time' => $lastGetGoldTime,
'is_new' => $row['is_new'],
); );
} }

View File

@ -196,6 +196,7 @@ class Chip extends BaseModel
'rand_attr'=> $rand_attr, 'rand_attr'=> $rand_attr,
'quality'=> $row['quality'], 'quality'=> $row['quality'],
'attribute' => $attribute, 'attribute' => $attribute,
'is_new' => $row['is_new'],
); );
$dto['chip_name'] = mt\Item::get($row['item_id'])?mt\Item::get($row['item_id'])['name']:'XXX'; $dto['chip_name'] = mt\Item::get($row['item_id'])?mt\Item::get($row['item_id'])['name']:'XXX';
// $nft_address = ''; // $nft_address = '';