         // 校验 是否选择银行卡和提现最多金额
 //        let str : String = NSString(format: "%.2f" , (UserModel.share().getCurrentUser()?.balance)!) as String
         let account  = accountmoney
-            if self.moneyTd.text?.length()==0{
+        let input : Double = Double(self.moneyTd.text!)!
+        if self.moneyTd.text?.length()==0{
             SVProgressHUD.showError(withStatus: "请输入提现金额")
             return
         }
-        if Float.init(self.moneyTd.text!) == 0{
-         SVProgressHUD.showError(withStatus: "提现金额大于0")
-            return
-        }
-        let input : Double = Double(self.moneyTd.text!)!
+        if input < 0.01{
+            SVProgressHUD.showError(withStatus: "提现金额大于0.01")
+            return
+        }
+        if Double.init(self.moneyTd.text!) == 0{
+            SVProgressHUD.showError(withStatus: "提现金额大于0")
+            return
+        }
+       
         if  bankId == 0{
             SVProgressHUD.showError(withStatus: "请选择银行卡")
             return
         }
-        if account < input{
+        let str : String = NSString(format: "%f" , self.accountmoney) as String
+        let count : Double = Double.init(str)!
+        if count < input{
             SVProgressHUD.showError(withStatus: "最多提现" + "\(account)" + "元")
             return
         }

                    
                    self?.accountmoney = moneyTd
                    
                    let str : String =  String.init(format:  "%.2f", moneyTd)
                    self?.moneyTd.placeholder = "最多可提现" + "\(str)" + "元"
                    
                    UserModel.updateUser(info: { (result) -> ()? in

    //MARK: - 全部提现导航栏
    @IBAction func withDrawAll(_ sender: Any) {
        //        self.moneyTd.text
        let str : String = NSString(format: "%f" , self.accountmoney) as String
        self.moneyTd.text = str
    }
     //MARK: - textField delegate
