1
This commit is contained in:
parent
34a0aac467
commit
2ffff4f3c4
@ -335,6 +335,7 @@ class Item(object):
|
||||
['item_uniid', 0, '道具唯一id'],
|
||||
['item_id', 0, '道具id'],
|
||||
['item_num', 0, '道具数量'],
|
||||
['is_new', 0, '0:展示红点 1:不用展示'],
|
||||
['!attr', [Attr()], '属性'],
|
||||
]
|
||||
|
||||
@ -891,6 +892,7 @@ class Chip(object):
|
||||
['!rand_attr', [ChipAttr()], '属性'],
|
||||
['tags', '', '1:Gen状态'],
|
||||
['quality', '', '品阶'],
|
||||
['is_new', '', '0:展示红点 1:不用展示'],
|
||||
]
|
||||
|
||||
class ChipPro(object):
|
||||
|
@ -100,6 +100,7 @@ class Bag extends BaseModel {
|
||||
'attr' => emptyReplace(json_decode($row['rand_attr'], true), array()),
|
||||
'today_get_gold' => $todayGetGold,
|
||||
'last_get_gold_time' => $lastGetGoldTime,
|
||||
'is_new' => $row['is_new'],
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -196,6 +196,7 @@ class Chip extends BaseModel
|
||||
'rand_attr'=> $rand_attr,
|
||||
'quality'=> $row['quality'],
|
||||
'attribute' => $attribute,
|
||||
'is_new' => $row['is_new'],
|
||||
);
|
||||
$dto['chip_name'] = mt\Item::get($row['item_id'])?mt\Item::get($row['item_id'])['name']:'XXX';
|
||||
// $nft_address = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user