1
This commit is contained in:
parent
ad3e11ab2b
commit
ddfc4280ee
@ -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'],
|
||||
|
@ -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,
|
||||
|
@ -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),
|
||||
)
|
||||
);
|
||||
));
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user