121708259@qq.com hace 3 años
padre
commit
785e4f4210
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  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('请输入举报内容');