浏览代码

位置限制

wzq 5 年之前
父节点
当前提交
733e1b68b8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Controllers/V1/PostController.php

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

@@ -54,7 +54,7 @@ class PostController extends Controller
             'topic_ids' => 'required|string|max:64',
             'title' => 'nullable|string|max:20',
             'content' => 'required|string|max:1000',
-            'location' => 'nullable|string|max:20',
+            'location' => 'nullable|string|max:32',
             'imgs' => 'required_if:type,image|string',
         ]);
         if ($validator->fails()) {