Преглед на файлове

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