                     
                     SVProgressHUD.dismiss()
                     if let object = result {
-                        
-                        //                        ShareModel.share().shareData["rid"] =  object["rid"] as! String!
+                        //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())

                    if errorCode == 0{
                        SVProgressHUD.showSuccessMessage(SuccessMessage: "支付成功", ForDuration: 1
                            , completion: {
                                
                                self.performSegue(withIdentifier: "PushTolist", sender: nil)

        
                        })
                        return
                    }
        

                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
