Эх сурвалжийг харах

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

wufeng 2 жил өмнө
parent
commit
dbe3a5def4

+ 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)) {