瀏覽代碼

Merge branch 'dev_wf' of wugg/phpstock into version1.5

wufeng 2 年之前
父節點
當前提交
dbe3a5def4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/youzan/controller/Index.php

+ 1 - 1
app/youzan/controller/Index.php

@@ -231,7 +231,7 @@ class Index extends Base
     {
         $param = $this->request->filter('trim')->only(['id', 'token']);
 
-        $val = Validate::rule(['id|ID' => 'require|number|gt:0', 'token' => 'require']);
+        $val = Validate::rule(['id|ID' => 'require|array|max:100', 'token' => 'require']);
 
         if ($val->check($param)) {