Commit 2590d0e7 authored by guanghui.shi's avatar guanghui.shi

我的账单修改,以及toast提示

parent eeecca8f
......@@ -127,7 +127,26 @@
@strongify(self);
[self setupAnalyticsWith:isRight];
[QGApplicationOpenURL handleAllSupportUrl:isRight ? self.billHead.appPreRepayUrl : self.billHead.appRepayUrl];
if (self.billModel.isShould) {
if (self.bottomView.type == RepaymentBottomTypeSignle) {
[QGApplicationOpenURL handleAllSupportUrl:self.billHead.appRepayUrl];
}else{
if (isRight) {
NSString *urlString = self.billHead.installmentUrl;
urlString = [urlString filterURLParam:@"isBothBtn" value:@"true"];
urlString = [urlString filterURLParam:@"billNumber" value:self.billModel.billNo];
urlString = [urlString filterURLParam:@"itemPrice" value:self.billModel.balanceAmount];
urlString = [urlString filterURLParam:@"addPrice" value:self.shouldAmount == nil ? @"0":self.shouldAmount];
urlString = [urlString filterURLParam:@"from" value:self.billModel.isShould ? @"should":@"await"];
[self navigationToWeb:urlString];
}else{
[QGApplicationOpenURL handleAllSupportUrl:self.billHead.appRepayUrl];
}
}
}else{
[QGApplicationOpenURL handleAllSupportUrl:self.billHead.appPreRepayUrl];
}
};
/// 设置tableView
[self.tableView mas_remakeConstraints:^(MASConstraintMaker *make) {
......
......@@ -191,6 +191,7 @@
if (self.bindSuccessBlock) {
self.bindSuccessBlock(YES);
}
[QGHUDManager showHud:@"绑定成功"];
[self.navigationController popViewControllerAnimated:YES];
}else{
NSString *msg = responseObject[@"msg"]? responseObject[@"msg"]:@"授权失败";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment