-
-
Notifications
You must be signed in to change notification settings - Fork 9k
feat(微信医保支付): 修改规范性问题 #3819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
xgl6
wants to merge
7
commits into
binarywang:develop
Choose a base branch
from
xgl6:develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat(微信医保支付): 修改规范性问题 #3819
+51
−44
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
本 PR 修改了微信医保支付模块的规范性问题,主要涉及字段命名标准化、数据类型调整和 API 方法签名优化。这些更改已通过本地测试并与微信医保接口验证通过。
主要更改:
- 将
mixTradeNo从请求对象字段改为方法参数,使其作为 URL 查询参数传递 - 统一金额字段类型从
Long改为Integer - 调整字段命名规范(
subMchid→subMchId,subAppid→subAppId) - 为内部类添加 Lombok 注解支持链式调用
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| MedInsRefundNotifyRequest.java | 移除 mixTradeNo 字段,修改 subMchid 字段命名 |
| MiPayService.java | 修改 medInsRefundNotify 方法签名,添加 mixTradeNo 参数 |
| MiPayServiceImpl.java | 实现方法签名变更,使用新的参数方式构造 URL |
| MiPayServiceImplTest.java | 更新测试代码以适配新的方法签名 |
| MedInsOrdersResult.java | 统一字段命名规范和金额类型,优化枚举字段命名 |
| MedInsOrdersRequest.java | 统一字段命名规范和金额类型,修改 Builder 配置,为内部类添加注解 |
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/mipay/MedInsOrdersRequest.java
Outdated
Show resolved
Hide resolved
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/MiPayService.java
Show resolved
Hide resolved
...java-pay/src/main/java/com/github/binarywang/wxpay/bean/mipay/MedInsRefundNotifyRequest.java
Outdated
Show resolved
Hide resolved
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/mipay/MedInsOrdersRequest.java
Outdated
Show resolved
Hide resolved
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/mipay/MedInsOrdersRequest.java
Outdated
Show resolved
Hide resolved
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/mipay/MedInsOrdersResult.java
Outdated
Show resolved
Hide resolved
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/mipay/MedInsOrdersResult.java
Outdated
Show resolved
Hide resolved
…/mipay/MedInsOrdersRequest.java 接受 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…/mipay/MedInsRefundNotifyRequest.java 接受 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…/mipay/MedInsOrdersRequest.java 接受 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…/mipay/MedInsOrdersRequest.java 接受 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…/mipay/MedInsOrdersResult.java 接受 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…/mipay/MedInsOrdersResult.java 接受 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Contributor
Author
|
已经按照Copilot修改 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
修改了一些规范性问题,并且已经在本地和和微信医保测试完成,接口正常