|
@@ -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'],
|
|
|
]);
|