Browse Source

后台修改

xxxrrrdddd 3 years ago
parent
commit
57f5dfc281
2 changed files with 1 additions and 1 deletions
  1. 0 0
      addons/alioss/assets/js/spark.js
  2. 1 1
      application/validate/UserOrderValidate.php

File diff suppressed because it is too large
+ 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'],

Some files were not shown because too many files changed in this diff