Explorar el Código

删除无用的partyhot

lizhen_gitee hace 1 año
padre
commit
06a96f65ec
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      application/api/controller/Party.php

+ 3 - 3
application/api/controller/Party.php

@@ -2121,16 +2121,16 @@ class Party extends Api
             // 获取用户魅力值。大概率没用了
 
             // tcp 更新房间热度
-            $partyHot = $this->updatePartyHot($partyInfo, $allVal, $room_type);
+            //$partyHot = $this->updatePartyHot($partyInfo, $allVal, $room_type);
 
             // 如果是派对,则添加派对热度值记录做榜单统计
-            //if($room_type == 1) {
+            /*if($room_type == 1) {
                 $data = [];
                 $data["party_id"] = $party_id;
                 $data["hot"] = $allVal;
                 $data["createtime"] = time();
                 \app\common\model\PartyHot::insert($data);
-            //}
+            }*/
 
             //增加送礼用户的财富等级
 //            $res_wealth = \app\common\model\User::add_wealth_level($this->auth->id,$allVal);