This commit is contained in:
hujiabin 2022-11-11 11:03:48 +08:00
parent 261629487a
commit 498820752b
2 changed files with 1 additions and 3 deletions

View File

@ -861,8 +861,6 @@ class Fragment(object):
['idx', 0, '主键id'],
['token_id', '', 'token id'],
['item_id', '', '道具id'],
['type', '', '碎片类型 1:英雄碎片 2枪械碎片 3:特殊英雄碎片 4:特殊枪械碎片'],
['parts', '', '碎片部位 0:特殊碎片的部位 1-8:普通部位'],
['balance', '', '数量'],
['createtime', 0, '创建时间'],
['modifytime', 0, '修改时间'],

View File

@ -20,7 +20,7 @@ class FragmentController extends BaseAuthedController
{
$fragmentList = array();
foreach (Fragment::getFragmentList() as $val){
array_push($fragmentList,Fragment::oldToDto($val));
array_push($fragmentList,Fragment::ToDto($val));
}
$this->_rspData(array(
'fragment_list' => $fragmentList,