mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
🎨 修改微信医保支付模块的规范性问题,主要涉及字段命名标准化、数据类型调整和 API 方法签名优化
Some checks failed
Publish to Maven Central / build-and-publish (push) Has been cancelled
Some checks failed
Publish to Maven Central / build-and-publish (push) Has been cancelled
This commit is contained in:
@@ -131,13 +131,12 @@ public class MiPayServiceImplTest {
|
||||
|
||||
// 解析请求参数
|
||||
MedInsRefundNotifyRequest request = GSON.fromJson(requestParamStr, MedInsRefundNotifyRequest.class);
|
||||
request.setMixTradeNo(mixTradeNo);
|
||||
|
||||
MiPayService miPayService = wxPayService.getMiPayService();
|
||||
|
||||
try {
|
||||
// 调用医保退款通知方法,预期会失败,因为是模拟数据
|
||||
miPayService.medInsRefundNotify(request);
|
||||
miPayService.medInsRefundNotify(request,mixTradeNo);
|
||||
log.info("医保退款通知调用成功");
|
||||
} catch (WxPayException e) {
|
||||
// 预期会抛出异常,因为是模拟数据
|
||||
|
||||
Reference in New Issue
Block a user