Explorar o código

评论列表验证

wzq %!s(int64=5) %!d(string=hai) anos
pai
achega
94cdd3d6bb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Controllers/V1/PostController.php

+ 1 - 1
app/Http/Controllers/V1/PostController.php

@@ -274,7 +274,7 @@ class PostController extends Controller
         }
         $exists = $this->postRepositories->detailExists($request['post_id']);
         if (!$exists) {
-            return jsonError('获取内容信息失败');
+            return jsonError('');
         }
         $list = $this->postRepositories->commentList($request->all());
         $fractal = new Manager();