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