121708259@qq.com 3 年 前
コミット
785e4f4210
1 ファイル変更3 行追加3 行削除
  1. 3 3
      app/Services/DynamicService.php

+ 3 - 3
app/Services/DynamicService.php

@@ -239,9 +239,9 @@ class DynamicService
 
 
     //举报动态
     //举报动态
     public function report(UserReportParam $userReportParam){
     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)){
         if(empty($userReportParam->content)){
             throw new Exception('请输入举报内容');
             throw new Exception('请输入举报内容');