|
@@ -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("请完成举报内容!");
|
|
|
}
|