修复:MiPayNotifyV3Result#DecryptNotifyResult 与文档不一致,补充缺失字段#3884
Open
修复:MiPayNotifyV3Result#DecryptNotifyResult 与文档不一致,补充缺失字段#3884
Conversation
- 添加 mix_pay_status(医保自费混合订单支付状态,必填) - 添加 self_pay_status(自费部分支付状态,选填) - 添加 med_ins_pay_status(医保部分支付状态,选填) - 添加 paid_time(订单支付时间,选填) - 添加 passthrough_response_content(医保局返回内容,选填) - 添加 mix_pay_type(混合支付类型,必填) - 添加 order_type(订单类型,选填) - 添加 openid、sub_openid(用户标识,选填) - 添加 pay_for_relatives(是否代亲属支付,选填) - 添加 serial_no、pay_order_id、pay_auth_no(订单相关,选填) - 添加 geo_location、city_id(地理位置,必填) - 添加 med_inst_name、med_inst_no(医疗机构信息,必填) Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix parameter inconsistency in MiPayNotifyV3Result
修复:MiPayNotifyV3Result#DecryptNotifyResult 与文档不一致,补充缺失字段
Feb 25, 2026
🤖 Augment PR Summary总结:本 PR 修复了 主要变更:
技术说明:新增字段均通过 Gson 的 🤖 Was this summary useful? React with 👍 or 👎 |
There was a problem hiding this comment.
Pull request overview
本 PR 修复了 MiPayNotifyV3Result.DecryptNotifyResult 类与微信支付医保混合收款成功通知官方文档不一致的问题,补充了缺失的关键字段和可选字段。
Changes:
- 新增必填字段
mix_pay_status(医保自费混合订单支付状态)、mix_pay_type(混合支付类型)、city_id(城市ID)、med_inst_name(医疗机构名称)、med_inst_no(医疗机构编码) - 新增可选字段包括
self_pay_status、med_ins_pay_status、paid_time、passthrough_response_content、order_type、openid、sub_openid、pay_for_relatives、serial_no、pay_order_id、pay_auth_no、geo_location等 - 所有字段均遵循项目现有的文档格式和命名规范,使用 Lombok 注解和 Gson 序列化注解
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
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.
MiPayNotifyV3Result.DecryptNotifyResult缺少官方文档中定义的多个回调解密字段,其中mix_pay_status为必填关键字段。新增字段
必填字段:
mix_pay_status— 医保自费混合订单支付状态(MIX_PAY_SUCCESS/MIX_PAY_FAIL等枚举)mix_pay_type— 混合支付类型(CASH_ONLY/INSURANCE_ONLY/CASH_AND_INSURANCE)city_id、med_inst_name、med_inst_no— 城市及医疗机构信息选填字段:
self_pay_status— 自费部分支付状态med_ins_pay_status— 医保部分支付状态paid_time— 订单支付时间passthrough_response_content— 医保局透传返回内容order_type— 订单类型(REG_PAY/DIAG_PAY等)openid、sub_openid、pay_for_relatives— 用户信息serial_no、pay_order_id、pay_auth_no— 医保订单标识geo_location— 用户定位经纬度解密后的完整响应体示例:
{ "mix_trade_no": "1217752501201407033233368318", "mix_pay_status": "MIX_PAY_SUCCESS", "self_pay_status": "SELF_PAY_SUCCESS", "med_ins_pay_status": "MED_INS_PAY_SUCCESS", "mix_pay_type": "CASH_AND_INSURANCE", "order_type": "REG_PAY", "paid_time": "2018-06-08T10:34:56+08:00", "city_id": "530100", "med_inst_name": "北大医院", ... }Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.