'regex:/^[\d]?(\.[\d]{0,2})?$/', 'withdrawmoney' => 'regex:/^[0-9]+(.[0-9]{1,2})?$/' ]; } public function atributeNames() { return [ 'poundage'=> "请输入正确的提现手续费", 'withdrawmoney' => "请输入正确的提现限制金额" ]; } }