1
This commit is contained in:
parent
dfc01f6988
commit
d0e6824f9b
@ -30,6 +30,7 @@ class Battle(object):
|
||||
_common.ReqHead(),
|
||||
['battle_uniid', '', 'battle_uuid'],
|
||||
['match_mode', 0, '0: 匹配赛模式 1: 排位赛 3: pve'],
|
||||
['pve_instance_id', 0, 'pve副本id'],
|
||||
['is_valid_battle', 0, 'is_valid_battle'],
|
||||
['payload', '', 'payload'],
|
||||
['map_id', 0, '地图id'],
|
||||
@ -64,6 +65,9 @@ class Battle(object):
|
||||
['weapons_slot', '', '武器信息 weapon_id:use_times|'],
|
||||
['heros', '', '武器信息 hero_id:skill_lv:weapon_lv|'],
|
||||
|
||||
['pve_rank_score', 0, 'pve积分'],
|
||||
['pve_kill_boss', 0, 'pve boss是否被击杀'],
|
||||
|
||||
['rank_score', 0, '排位积分'],
|
||||
#['pass_score', 0, '通行证积分'],
|
||||
['items', 0, '道具id:道具数量|'],
|
||||
|
@ -252,10 +252,12 @@ class BagController extends BaseAuthedController {
|
||||
return;
|
||||
}
|
||||
$items = array(
|
||||
'item_id' => itemId,
|
||||
'item_num' => 1
|
||||
array(
|
||||
'item_id' => $itemId,
|
||||
'item_num' => 1
|
||||
)
|
||||
);
|
||||
$this->_addItems($items, $this->awardService, $this->propertyService);
|
||||
$this->_addItems($items, $this->awardService, $this->propertyChgService);
|
||||
$this->propertyChgService->addBagChg();
|
||||
$this->_rspData(array(
|
||||
'award' => $this->awardService->toDto(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user