diff --git a/doc/_common.py b/doc/_common.py index 3a95cf61..f9e440d7 100644 --- a/doc/_common.py +++ b/doc/_common.py @@ -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, '修改时间'], diff --git a/webapp/controller/FragmentController.class.php b/webapp/controller/FragmentController.class.php index dc640a20..114a2a25 100644 --- a/webapp/controller/FragmentController.class.php +++ b/webapp/controller/FragmentController.class.php @@ -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,