1
This commit is contained in:
parent
412ed6ec93
commit
a8c969027b
@ -138,6 +138,7 @@ class RankingController extends BaseAuthedController {
|
||||
'head_id' => $row['head_id'],
|
||||
'head_frame' => $row['head_frame'],
|
||||
'hero_skin' => $hero_skin,
|
||||
'hero_id' => $row['hero_id'],
|
||||
);
|
||||
}else{
|
||||
$info = array();
|
||||
|
@ -924,6 +924,10 @@ class UserController extends BaseAuthedController {
|
||||
return;
|
||||
}
|
||||
$userInfo = $this->_getOrmUserInfo();
|
||||
if ($userInfo['is_gain_item']){
|
||||
$this->_rspErr(1, 'Have already received');
|
||||
return;
|
||||
}
|
||||
$headList = emptyReplace(json_decode($userInfo['head_list'], true), array());
|
||||
if ($heroMeta['hero_head'] && !in_array($heroMeta['hero_head'],$headList)){
|
||||
array_push($headList,$heroMeta['hero_head']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user