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',
'desc': '铭文信息',
'group': 'ChipPage',
'url': 'webapp/index.php?c=ChipPage&a=showPageInfo',
'url': 'webapp/index.php?c=ChipPage&a=showChipPage',
'params': [
_common.ReqHead(),
['hero_unnid', '', '英雄唯一id'],

View File

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

View File

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