lmw
2025-04-14 0361f47762f9958f2ec91fdb62bfc98de4e162a6
app/src/main/java/com/xianning/driver/wxapi/WXPayEntryActivity.java
@@ -58,7 +58,7 @@
        request.timeStamp = orderInfo.getTimeStamp();
        request.sign = orderInfo.getSign();
        Boolean Pay = api.sendReq(request);
        Toast.makeText(this, "发起支付", Toast.LENGTH_SHORT).show();
//        Toast.makeText(this, "发起支付", Toast.LENGTH_SHORT).show();
        finish();
    }
@@ -108,7 +108,7 @@
            if (baseResp.getType() == ConstantsAPI.COMMAND_LAUNCH_WX_MINIPROGRAM) {
                WXLaunchMiniProgram.Resp launchMiniProResp = (WXLaunchMiniProgram.Resp) baseResp;
                String extraData =launchMiniProResp.extMsg; //对应小程序组件 <button open-type="launchApp"> 中的 app-parameter 属性
            }
        }
    };
@@ -138,7 +138,7 @@
//                EventBus.getDefault().post(new BaseEvent(BaseEvent.PAY_FAIL,resp.errStr));
            }
            EventBus.getDefault().post(new BaseEvent(BaseEvent.WEIXIN_BACK));
//            finish();
            finish();
        }
    }