支付宝原生支付bug fix(不能在UI线程请求)
This commit is contained in:
@@ -366,6 +366,7 @@ public class PaymentActivity extends Activity
|
||||
}
|
||||
}
|
||||
})
|
||||
.compose(RxHelper.handleSchedulers())
|
||||
.subscribe((stringStringMap, throwable) -> {
|
||||
if (throwable == null) {
|
||||
AliPayResult aliPayResult = new AliPayResult(stringStringMap);
|
||||
|
@@ -55,8 +55,7 @@ public class AliPayModel extends BaseModel implements IAliPayModel {
|
||||
chargeProdId,
|
||||
Constants.CHARGE_ALIPAY,
|
||||
NetworkUtils.getIPAddress(context),
|
||||
AuthModel.get().getTicket())
|
||||
.compose(RxHelper.handleSchedulers());
|
||||
AuthModel.get().getTicket());
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user