Browse Source

工会错别字

lizhen_gitee 1 năm trước cách đây
mục cha
commit
1744e35349

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

@@ -103,7 +103,7 @@ class Guild extends Api
             // 派对类型
             $mod = isset($partyInfo["party_type"])?intval($partyInfo["party_type"])%5:1;
             $partyInfo["party_type_color"] = $mod == 0?5:$mod;
-            $partyInfo["type_name"] = '会房';
+            $partyInfo["type_name"] = '会房';
         }
 
 
@@ -306,7 +306,7 @@ class Guild extends Api
 
         $id = $partyModel->insertGetId($data);
         if(!$id) {
-            $this->error("会房间创建失败,请稍后重试!");
+            $this->error("会房间创建失败,请稍后重试!");
         }
         $data["id"] = $id;
 
@@ -314,7 +314,7 @@ class Guild extends Api
         $partyInfo["is_new"] = 1;
 
 
-        $partyInfo["type_name"] = '会房';
+        $partyInfo["type_name"] = '会房';
 
         //redis
         $redis = new Redis();

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

@@ -1245,7 +1245,7 @@ class Party extends Api
      */
     public function setParty() {
         $party_id = input('party_id',0,"intval"); // 直播间ID
-        $room_type = input('room_type',1); // 房间类型:1=会,2=个人k歌
+        $room_type = input('room_type',1); // 房间类型:1=会,2=个人k歌
       
         if (!$party_id || !$room_type) {
             $this->error(__('Invalid parameters'));