1
This commit is contained in:
parent
3ebd618ed4
commit
324a86047a
@ -362,7 +362,6 @@ class HeroController extends BaseAuthedController {
|
|||||||
Hero::update(
|
Hero::update(
|
||||||
$heroUniId,
|
$heroUniId,
|
||||||
array(
|
array(
|
||||||
'hero_lv' => $heroDb['hero_lv'],
|
|
||||||
'lock_type' => Hero::LEVEL_LOCK,
|
'lock_type' => Hero::LEVEL_LOCK,
|
||||||
'unlock_time' => $this->_getNowTime() + $nextLevelMeta['time'],
|
'unlock_time' => $this->_getNowTime() + $nextLevelMeta['time'],
|
||||||
)
|
)
|
||||||
@ -494,7 +493,6 @@ class HeroController extends BaseAuthedController {
|
|||||||
$this->_decItems($costItems);
|
$this->_decItems($costItems);
|
||||||
Hero::update($heroUniId,
|
Hero::update($heroUniId,
|
||||||
array(
|
array(
|
||||||
'hero_lv' => $heroDb['hero_lv'],
|
|
||||||
'lock_type' => Hero::QUALITY_LOCK,
|
'lock_type' => Hero::QUALITY_LOCK,
|
||||||
'unlock_time' => $this->_getNowTime() + $nextQualityMeta['time'],
|
'unlock_time' => $this->_getNowTime() + $nextQualityMeta['time'],
|
||||||
)
|
)
|
||||||
@ -542,6 +540,7 @@ class HeroController extends BaseAuthedController {
|
|||||||
$heroDto = Hero::toDto($heroDb);
|
$heroDto = Hero::toDto($heroDb);
|
||||||
$newHeroDto = Hero::toDto($newHeroDb);
|
$newHeroDto = Hero::toDto($newHeroDb);
|
||||||
$this->_rspData(array(
|
$this->_rspData(array(
|
||||||
|
|
||||||
'old_hero' => $heroDto,
|
'old_hero' => $heroDto,
|
||||||
'new_hero' => $newHeroDto
|
'new_hero' => $newHeroDto
|
||||||
));
|
));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user