This commit is contained in:
hujiabin 2024-02-19 16:40:06 +08:00
parent ad3e11ab2b
commit ddfc4280ee
3 changed files with 4 additions and 10 deletions

View File

@ -10,7 +10,7 @@ class ChipPage(object):
'name': 'showChipPage', 'name': 'showChipPage',
'desc': '铭文信息', 'desc': '铭文信息',
'group': 'ChipPage', 'group': 'ChipPage',
'url': 'webapp/index.php?c=ChipPage&a=showPageInfo', 'url': 'webapp/index.php?c=ChipPage&a=showChipPage',
'params': [ 'params': [
_common.ReqHead(), _common.ReqHead(),
['hero_unnid', '', '英雄唯一id'], ['hero_unnid', '', '英雄唯一id'],

View File

@ -28,6 +28,7 @@ class ChipPageController extends BaseAuthedController
} }
$chipPageService = new services\ChipPageService(); $chipPageService = new services\ChipPageService();
$chipPageService->refreshSlotState($chipPageDb); $chipPageService->refreshSlotState($chipPageDb);
$chipPageDb = ChipPage::find($heroUid);
$chipPageDto = ChipPage::toDtoInfo($chipPageDb); $chipPageDto = ChipPage::toDtoInfo($chipPageDb);
$this->_rspData(array( $this->_rspData(array(
'data' => $chipPageDto, 'data' => $chipPageDto,

View File

@ -24,16 +24,9 @@ class ChipPageService extends BaseService
$val['state'] = 1; $val['state'] = 1;
} }
} }
SqlHelper::update( ChipPage::update($row['hero_uniid'],array(
myself()->_getSelfMysql(),
't_chip_page',
array(
'idx' => $row['idx']
),
array(
'data' => json_encode($data), 'data' => json_encode($data),
) ));
);
} }
} }