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