xxxrrrdddd 2 年之前
父节点
当前提交
236c197f14
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/Recharge.php

+ 1 - 1
application/api/controller/Recharge.php

@@ -17,7 +17,7 @@ class Recharge extends BaseController
     public function index(){
         $data=input();
         $check=$this->validate($data,[
-            'amount|金额'=>['require','number','gt:0'],
+            'amount|金额'=>['require','number','gt:0','lt:1000000'],
             'url|链接'=>['url'],
             'type|付款方式'=>['require','in:shande'],
         ]);