121708259@qq.com %!s(int64=3) %!d(string=hai) anos
pai
achega
785e4f4210
Modificáronse 1 ficheiros con 3 adicións e 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('请输入举报内容');