|
@@ -839,7 +839,7 @@ class Party extends Api
|
|
|
} else {
|
|
|
$partyInfo["type_name"] = "普通房";
|
|
|
}
|
|
|
- $partyInfo["party_hot"] = $this->changeW($partyInfo["party_hot"]);
|
|
|
+ $partyInfo["party_hot"] = changeW($partyInfo["party_hot"]);
|
|
|
$partyInfo['is_new'] = $partyInfo["status"] == 0 ? 1 : 0;
|
|
|
$partyInfo['join_days'] = $this->getUserJoinPartyDays($user_id,$party_id);
|
|
|
$lsetList["partyInfo"] = $partyInfo;
|
|
@@ -1121,7 +1121,7 @@ class Party extends Api
|
|
|
// 获取技能信息
|
|
|
|
|
|
$partyInfo["userInfo"] = $userInfo;
|
|
|
- $partyInfo["party_hot"] = $this->changeW($partyInfo["party_hot"]);
|
|
|
+ $partyInfo["party_hot"] = changeW($partyInfo["party_hot"]);
|
|
|
}
|
|
|
$this->success("获取成功!",$partyInfo);
|
|
|
|
|
@@ -1747,7 +1747,7 @@ class Party extends Api
|
|
|
$money_to_jewel = config('site.money_to_jewel') ?: 10; //余额兑换金币
|
|
|
|
|
|
// 不可以赠送给自己
|
|
|
- //if(in_array($userauthid,$user_id_arr)) $this->error("不可以赠送给自己!");
|
|
|
+ if(in_array($userauthid,$user_id_arr)) $this->error("不可以赠送给自己!");
|
|
|
|
|
|
$backGiftId = 0; //背包礼物表的 gift_id
|
|
|
$boxgiftInfo = [];
|
|
@@ -2264,7 +2264,7 @@ class Party extends Api
|
|
|
$userModel = new \app\common\model\User();
|
|
|
// 获取条数
|
|
|
$num = 3;
|
|
|
- // 获取3条财富排行日记录
|
|
|
+ // 获取3条财富排行记录
|
|
|
$getweek = $this->redis->zRevRange("hourWealth_".$party_info['id'],0,$num-1,true);
|
|
|
$userList = $userModel->rankList($getweek);
|
|
|
$avatarArr = [];
|
|
@@ -2319,7 +2319,7 @@ class Party extends Api
|
|
|
if($users) {
|
|
|
foreach($users as $k => $v){
|
|
|
if($userId == $k){
|
|
|
- $charm = $this->changeW($v);
|
|
|
+ $charm = changeW($v);
|
|
|
}
|
|
|
}
|
|
|
}
|