浏览代码

bug修复

121708259@qq.com 3 年之前
父节点
当前提交
785e4f4210
共有 1 个文件被更改,包括 3 次插入3 次删除
  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('请输入举报内容');