From 05b36734ad987f64d9c4156e9d1b152bb51636cc Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Thu, 11 Jan 2024 17:16:39 +0800 Subject: [PATCH] 1 --- doc/_common.py | 1 + webapp/models/Chip.php | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/_common.py b/doc/_common.py index cda0a8d8..e7f6c0dd 100644 --- a/doc/_common.py +++ b/doc/_common.py @@ -864,6 +864,7 @@ class Chip(object): ['inlay_state', 0, '镶嵌状态:0 未镶嵌;1 镶嵌了 ---弃用字段'], ['!rand_attr', [ChipAttr()], '属性'], ['tags', '', '1:Gen状态'], + ['quality', '', '品阶'], ] class ChipPro(object): diff --git a/webapp/models/Chip.php b/webapp/models/Chip.php index 315f30d0..897eafee 100644 --- a/webapp/models/Chip.php +++ b/webapp/models/Chip.php @@ -184,6 +184,7 @@ class Chip extends BaseModel 'state'=> $row['state'], 'inlay_state'=> $row['inlay_state'], 'rand_attr'=> $rand_attr, + 'quality'=> $row['quality'], ); $dto['chip_name'] = mt\Item::get($row['item_id'])?mt\Item::get($row['item_id'])['name']:'XXX'; // $nft_address = '';