1.首页充值

This commit is contained in:
qyy
2025-10-15 10:07:02 +08:00
committed by 梁小江
parent 99bc57a2f0
commit e7b1ab75df
20 changed files with 269 additions and 54 deletions

View File

@@ -121,7 +121,7 @@ public class RechargeActivity extends BaseMvpActivity<RechargePresenter, Activit
LogUtils.d(TAG,"onClick,=--3------"+money);
MvpPre.appPay(SpUtil.getUserId() + "", money, coin, selectedItem.getType());
MvpPre.appPay(SpUtil.getUserId() + "", money, coin, selectedItem.getType(),"","");
}
}

View File

@@ -30,7 +30,7 @@ public class RechargeConactos {
void wallet();
void appPay(String user_id,String money,String coin,String type);
void appPay(String user_id,String money,String coin,String type,String type_params,String type_id);
void bindType(String userId);

View File

@@ -50,8 +50,8 @@ public class RechargePresenter extends BasePresenter<RechargeConactos.View> impl
}
@Override
public void appPay(String user_id, String money, String coin, String type) {
api.appPay(user_id, money, coin, type, new BaseObserver<AppPay>() {
public void appPay(String user_id, String money, String coin, String type, String type_params, String type_id) {
api.appPay(user_id, money, coin, type,type_params,type_id, new BaseObserver<AppPay>() {
@Override
public void onSubscribe(Disposable d) {
addDisposable(d);
@@ -65,6 +65,8 @@ public class RechargePresenter extends BasePresenter<RechargeConactos.View> impl
});
}
@Override
public void bindType(String userId) {
api.bindType(userId, new BaseObserver<BindType>() {