测试:- 房间举报bug修改
This commit is contained in:
@@ -29,7 +29,9 @@ class Report extends BaseCom
|
||||
if($type_id == '' || $report_type == '' || $from_id == ''){
|
||||
return V(0,"参数错误",null);
|
||||
}
|
||||
|
||||
if($content == '' && $image == ''){
|
||||
return V(0,"请填写举报内容或上传证据图片",null);
|
||||
}
|
||||
$data = [
|
||||
'user_id' => $this->uid,
|
||||
'type_id' => $type_id,
|
||||
|
||||
Reference in New Issue
Block a user