1
This commit is contained in:
parent
6204f7cfac
commit
c0a9ae2091
@ -65,9 +65,12 @@ class HeroSkin(object):
|
||||
'params': [
|
||||
_common.ReqHead(),
|
||||
['skin_id', 0, '皮肤itemId'],
|
||||
['item_id', 0, '材料itemId'],
|
||||
['item_num', 0, '材料itemNum'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['item_id', 0, '皮肤itemId'],
|
||||
['property_chg', _common.PropertyChg(), '属性变更'],
|
||||
]
|
||||
},
|
||||
|
@ -151,8 +151,6 @@ class HeroSkinController extends BaseAuthedController {
|
||||
for ($i=0; $i<$number; $i++){
|
||||
HeroSkin::addSkin($itemMeta);
|
||||
}
|
||||
$lastIdx = SqlHelper::getLastInsertId( myself()->_getSelfMysql());
|
||||
$skinDb = HeroSkin::find($lastIdx);
|
||||
$propertyChgService->addHeroSkinChg();
|
||||
$event = array(
|
||||
'ID' => 'heroSkin',
|
||||
@ -167,6 +165,7 @@ class HeroSkinController extends BaseAuthedController {
|
||||
);
|
||||
LogService::burialPointEvent($event);
|
||||
$this->_rspData(array(
|
||||
'item_id' => $itemMeta['id'],
|
||||
'property_chg' => $propertyChgService->toDto(),
|
||||
));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user