|
@@ -2072,11 +2072,15 @@ class Party extends Api
|
|
|
$i++;
|
|
|
if($party_id > 0) {
|
|
|
|
|
|
- // tcp 更新用户魅力值
|
|
|
- $this->redis->zIncrBy("hourCharm_".$party_id, $giftValue_rate, $user_id);
|
|
|
-
|
|
|
- // tcp 更新用户贡献值
|
|
|
- $this->redis->zIncrBy("hourWealth_".$party_id, $giftValue_rate, $userauthid);
|
|
|
+ if($is_back != 1){
|
|
|
+ if(isset($giftInfo['is_baobi']) && $giftInfo['is_baobi'] == 1){
|
|
|
+ // tcp 更新用户魅力值
|
|
|
+ $this->redis->zIncrBy("hourCharm_".$party_id, $giftValue_rate, $user_id);
|
|
|
+
|
|
|
+ // tcp 更新用户贡献值
|
|
|
+ $this->redis->zIncrBy("hourWealth_".$party_id, $giftValue_rate, $userauthid);
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
|
|
|
}
|