Title: feat(channel): 新增售后保障单模块 6 个 API 支持 by Copilot · Pull Request #4035 · binarywang/WxJava · GitHub
Open Graph Title: feat(channel): 新增售后保障单模块 6 个 API 支持 by Copilot · Pull Request #4035 · binarywang/WxJava
X Title: feat(channel): 新增售后保障单模块 6 个 API 支持 by Copilot · Pull Request #4035 · binarywang/WxJava
Description: 为补齐微信小店售后能力,本 PR 在 WxChannelAfterSaleService 中新增保障单管理接口,覆盖保障单查询、详情、同意、协商、举证、拒绝全流程。实现与官方保障单 API 路径一一对应,保持现有售后模块风格一致。 接口层扩展(Service) 在 WxChannelAfterSaleService 新增 6 个方法: listGuaranteeOrder(GuaranteeOrderListParam) getGuaranteeOrder(String guaranteeOrderId) acceptGuarantee(String guaranteeOrderId) modifyGuarantee(GuaranteeModifyRequest) proofGuarantee(GuaranteeProofRequest) refuseGuarantee(String guaranteeOrderId, String reason) 实现层补齐(ServiceImpl) 在 WxChannelAfterSaleServiceImpl 增加对应实现,统一复用现有 shopService.post(...) + ResponseUtils.decode(...) 模式。 查询类接口返回强类型响应;操作类接口按现有风格提供无返回值调用。 API 常量新增 在 WxChannelApiUrlConstants.AfterSale 增加 6 个保障单 URL 常量: /channels/ec/aftersale/searchguaranteeorder /channels/ec/aftersale/getguaranteeorder /channels/ec/aftersale/merchantacceptguarantee /channels/ec/aftersale/merchantmodifyguarantee /channels/ec/aftersale/merchantproofguarantee /channels/ec/aftersale/merchantrefuseguarantee 数据模型新增(after 包) 请求模型:GuaranteeOrderListParam、GuaranteeOrderIdParam、GuaranteeModifyRequest、GuaranteeProofRequest、GuaranteeRefuseRequest 响应模型:GuaranteeOrderListResponse、GuaranteeOrderInfoResponse、GuaranteeOrderInfo 单元测试补充 在 WxChannelAfterSaleServiceImplTest 新增保障单相关 6 个测试方法,覆盖新增服务方法调用入口。 示例(新增接口调用): GuaranteeOrderListResponse list = afterSaleService.listGuaranteeOrder( new GuaranteeOrderListParam(beginCreateTime, endCreateTime, null, null, null) ); GuaranteeOrderInfo detail = afterSaleService.getGuaranteeOrder(guaranteeOrderId); afterSaleService.acceptGuarantee(guaranteeOrderId); afterSaleService.modifyGuarantee(new GuaranteeModifyRequest(guaranteeOrderId, 100, "协商说明")); afterSaleService.proofGuarantee(new GuaranteeProofRequest(guaranteeOrderId, mediaIds, "举证说明")); afterSaleService.refuseGuarantee(guaranteeOrderId, "拒绝原因");
Open Graph Description: 为补齐微信小店售后能力,本 PR 在 WxChannelAfterSaleService 中新增保障单管理接口,覆盖保障单查询、详情、同意、协商、举证、拒绝全流程。实现与官方保障单 API 路径一一对应,保持现有售后模块风格一致。 接口层扩展(Service) 在 WxChannelAfterSaleService 新增 6 个方法: listGuaranteeOrder(Guara...
X Description: 为补齐微信小店售后能力,本 PR 在 WxChannelAfterSaleService 中新增保障单管理接口,覆盖保障单查询、详情、同意、协商、举证、拒绝全流程。实现与官方保障单 API 路径一一对应,保持现有售后模块风格一致。 接口层扩展(Service) 在 WxChannelAfterSaleService 新增 6 个方法: listGuaranteeOrder(Guara...
Opengraph URL: https://github.com/binarywang/WxJava/pull/4035
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:255f67c8-b3f5-67a9-08a5-3dc52ca5afa9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A962:A2F1B:8729E8:B60BF6:6A580EB0 |
| html-safe-nonce | d910fbdde3433b23a9b14e4e1b56b5f9e285244f5697cedbf7a719fbce7e8daa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTYyOkEyRjFCOjg3MjlFODpCNjBCRjY6NkE1ODBFQjAiLCJ2aXNpdG9yX2lkIjoiNDA1NzU5NzA4NjgzMzA1MzM2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6a02c7ba7892dd201856dcb918899e8e0d0a5efe64496d320ec795548fd40963 |
| hovercard-subject-tag | pull_request:3776577935 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/binarywang/WxJava/pull/4035/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | 为补齐微信小店售后能力,本 PR 在 WxChannelAfterSaleService 中新增保障单管理接口,覆盖保障单查询、详情、同意、协商、举证、拒绝全流程。实现与官方保障单 API 路径一一对应,保持现有售后模块风格一致。 接口层扩展(Service) 在 WxChannelAfterSaleService 新增 6 个方法: listGuaranteeOrder(Guara... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 49c8c15fabcbf356d607a90ca115c13b273e42ff8b74155de050fd229a9b0121 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/binarywang/WxJava git https://github.com/binarywang/WxJava.git |
| octolytics-dimension-user_id | 1343140 |
| octolytics-dimension-user_login | binarywang |
| octolytics-dimension-repository_id | 49122742 |
| octolytics-dimension-repository_nwo | binarywang/WxJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49122742 |
| octolytics-dimension-repository_network_root_nwo | binarywang/WxJava |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3fb1f684e7a833eb1b2d01d39875a2b52cb4fe9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width