|
@@ -69,6 +69,9 @@ class Party extends Common
|
|
|
{
|
|
|
$this->error(__('Invalid parameters'));
|
|
|
}
|
|
|
+ if(!$party_id){
|
|
|
+ $this->error('只有房间内能送礼物');
|
|
|
+ }
|
|
|
|
|
|
//处理参数
|
|
|
$user_id_arr = explode(",",$user_ids);
|
|
@@ -87,6 +90,8 @@ class Party extends Common
|
|
|
$giftValue = 0;
|
|
|
//每个人都能得到的礼物价值
|
|
|
$getValue = 0;
|
|
|
+ //热度值
|
|
|
+ $hotValue = 0;
|
|
|
|
|
|
if($is_back == 1) {
|
|
|
// 获取背包礼物信息
|
|
@@ -411,4 +416,6 @@ class Party extends Common
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+}
|
|
|
+
|
|
|
|