浏览代码

后台修改

xxxrrrdddd 3 年之前
父节点
当前提交
57f5dfc281
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 0 0
      addons/alioss/assets/js/spark.js
  2. 1 1
      application/validate/UserOrderValidate.php

文件差异内容过多而无法显示
+ 0 - 0
addons/alioss/assets/js/spark.js


+ 1 - 1
application/validate/UserOrderValidate.php

@@ -24,7 +24,7 @@ class UserOrderValidate extends Validate{
         'agree_time'=>['require','regex:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}-\d{2}:\d{2}$'],
         'pet_category'=>['require','integer','gt:0'],
         'num'=>['require','integer','gt:0'],
-        'weight'=>['require','gt:0'],
+        'weight'=>['require','gt:0','number'],
         'spec'=>['require','gt:0','integer'],
         'piece'=>['require','gt:0','integer'],
         'has_cage'=>['require','in:0,1'],

部分文件因为文件数量过多而无法显示