     }
     //MARK: -tableView dataSource
     override   func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int{
-        
         if section==0 {
             return 2
         }

                    
                    SVProgressHUD.dismiss()
                    if let object = result {
                        
                        //                        ShareModel.share().shareData["rid"] =  object["rid"] as! String!
                        self.rid = object["rid"] as! Int64
                        UPPaymentControl.default().startPay(object["tn"]  as! String!, fromScheme: "com.newxfin.goods", mode: "00", viewController: self)
                        
                    }
                    return nil
                }, error: errorBlockFunc())

                SVProgressHUD.show(withStatus: "加载中")
                if ((self.rechargeMoneyTF.text?.range(of: ".")) != nil) {
                    money = self.rechargeMoneyTF.text!
                }else{
                    money = "\(self.rechargeMoneyTF.text!)" + ".00001"
                }
                AppAPIHelper.user().weixinpay(title: "余额充值", price: Double.init(money)! , complete: { (result) -> ()? in
