1
This commit is contained in:
parent
b840da9c7f
commit
5e4b07e486
@ -145,6 +145,7 @@ class Hero(object):
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['state', 0, '0:失败 1:成功'],
|
||||
['old_hero', _common.Hero(), '英雄-老'],
|
||||
['new_hero', _common.Hero(), '英雄-新'],
|
||||
]
|
||||
|
@ -244,8 +244,10 @@ class HeroController extends BaseAuthedController {
|
||||
)
|
||||
);
|
||||
$this->_rspRawData(array(
|
||||
'errcode' => 1,
|
||||
'errmsg' => 'advance failed',
|
||||
'errcode' => 0,
|
||||
'errmsg' => '',
|
||||
'state' => 0,
|
||||
//'errmsg' => 'advance failed',
|
||||
'property_chg' => $propertyChgService->toDto(),
|
||||
));
|
||||
return;
|
||||
@ -280,6 +282,7 @@ class HeroController extends BaseAuthedController {
|
||||
return;
|
||||
}
|
||||
$this->_rspData(array(
|
||||
'state' => 1,
|
||||
'property_chg' => $propertyChgService->toDto(),
|
||||
'old_hero' => $oldHero,
|
||||
'new_hero' => $newHero,
|
||||
|
Loading…
x
Reference in New Issue
Block a user