121708259@qq.com vor 3 Jahren
Ursprung
Commit
785e4f4210
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      app/Services/DynamicService.php

+ 3 - 3
app/Services/DynamicService.php

xqd
@@ -239,9 +239,9 @@ class DynamicService
 
     //举报动态
     public function report(UserReportParam $userReportParam){
-        if(empty($userReportParam->report_id)){
-            throw new Exception('参数错误');
-        }
+//        if(empty($userReportParam->report_id)){
+//            throw new Exception('参数错误');
+//        }
 
         if(empty($userReportParam->content)){
             throw new Exception('请输入举报内容');