Browse Source

派对微调

lizhen_gitee 1 year ago
parent
commit
6891f42cb2
1 changed files with 5 additions and 4 deletions
  1. 5 4
      application/api/controller/Party.php

+ 5 - 4
application/api/controller/Party.php

@@ -328,6 +328,7 @@ class Party extends Common
 
     /**
      * 获取派对列表排序
+     * getPartyRankList改的
      */
     public function getPartyList() {
         $thispage = input('page',1,"intval"); // 当前页数
@@ -2135,10 +2136,10 @@ class Party extends Common
 
     //派对举报
     public function report_party() {
-        $type = $this->request->param('type');// 类型描述
-        $content = $this->request->param('content');// 内容
-        $images = $this->request->param('images');// 图片
-        $party_id = $this->request->param('party_id');//
+        $type = input('type');// 类型描述
+        $content = input('content');// 内容
+        $images = input('images');// 图片
+        $party_id = input('party_id');//
         if (!$type || !$content || !$images || !$party_id) {
             $this->error("请完成举报内容!");
         }