| | |
| | | "$(inherited)", |
| | | "$(PROJECT_DIR)/WanPai/YYPaymentManager/WeChatPay", |
| | | ); |
| | | MARKETING_VERSION = 2.1.1; |
| | | MARKETING_VERSION = 2.1.2; |
| | | OTHER_LDFLAGS = ( |
| | | "$(inherited)", |
| | | "-ObjC", |
| | |
| | | "$(inherited)", |
| | | "$(PROJECT_DIR)/WanPai/YYPaymentManager/WeChatPay", |
| | | ); |
| | | MARKETING_VERSION = 2.1.1; |
| | | MARKETING_VERSION = 2.1.2; |
| | | OTHER_LDFLAGS = ( |
| | | "$(inherited)", |
| | | "-ObjC", |
| | |
| | | |
| | | @IBAction func closeAction(_ sender: UIButton) { |
| | | |
| | | dimissAlert() |
| | | } |
| | | |
| | | func dimissAlert(){ |
| | | NotificationCenter.default.removeObserver(self) |
| | | |
| | | self.cons_bottom.constant = -(JQ_ScreenW * 1.1) |
| | |
| | | updatePrice() |
| | | |
| | | let studentIds = selectStudents.map({"\($0.stuId)"}).joined(separator: ",") |
| | | if totalMoney == 0 { |
| | | Services.payHuiminCard(id: m.id, payType: PayType.coin, studentIds: studentIds).subscribe(onNext: { data in |
| | | if data.code == 200 { |
| | | self.dimissAlert() |
| | | let vc = PaymentResultVC(result: .success, objType: .huimin) |
| | | JQ_currentViewController().jq_push(vc: vc) |
| | | } |
| | | |
| | | }).disposed(by: self.disposeBag) |
| | | }else { |
| | | PaymentView.show(enumType: .huiminCard, money: (ali: totalMoney, wx: totalMoney, coin: nil, course: nil, integral: nil)) {[unowned self] type in |
| | | Services.payHuiminCard(id: m.id, payType: type, studentIds: studentIds).subscribe(onNext: { data in |
| | | if let m = data.data{ |
| | |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | override func layoutSubviews() { |
| | | super.layoutSubviews() |
| | | DispatchQueue.main.asyncAfter(wallDeadline: .now()+0.1) { |
| | |
| | | |
| | | override func viewDidLoad() { |
| | | super.viewDidLoad() |
| | | title = "社区世界杯" |
| | | title = "赛事详情" |
| | | |
| | | Services.getMyWorldCupInfo(id: id).subscribe(onNext: {[weak self]data in |
| | | if let model = data.data{ |