root 5 年之前
父節點
當前提交
776e866b3c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Requests/Admin/ConfigSave.php

+ 1 - 1
app/Http/Requests/Admin/ConfigSave.php

@@ -22,7 +22,7 @@ class ConfigSave extends FormRequest
         'try_out_plan_id' => 'integer',
         'try_out_day' => 'integer',
         // server
-        'server_token' => 'min:16',
+        'server_token' => 'nullable|min:16',
         // alipay
         'alipay_enable' => 'in:0,1',
         'alipay_appid' => 'nullable|integer|min:16',