Title: [Feature] 新增电子面单模块支持 · Issue #3984 · binarywang/WxJava · GitHub
Open Graph Title: [Feature] 新增电子面单模块支持 · Issue #3984 · binarywang/WxJava
X Title: [Feature] 新增电子面单模块支持 · Issue #3984 · binarywang/WxJava
Description: 功能描述 电子面单是物流发货的核心功能,目前WxJava完全未实现该模块。建议新增 WxChannelEwaybillService 接口及实现类。 官方文档 https://developers.weixin.qq.com/doc/channels/API/channels-shop-delivery/ewaybill/ 需要实现的接口列表(16个) 接口名称 请求路径 获取面单标准模板 /channels/ec/logistics/ewaybill/biz/temp...
Open Graph Description: 功能描述 电子面单是物流发货的核心功能,目前WxJava完全未实现该模块。建议新增 WxChannelEwaybillService 接口及实现类。 官方文档 https://developers.weixin.qq.com/doc/channels/API/channels-shop-delivery/ewaybill/ 需要实现的接口列表(16个) 接口名称 请求路径 获取面单标准模板 ...
X Description: 功能描述 电子面单是物流发货的核心功能,目前WxJava完全未实现该模块。建议新增 WxChannelEwaybillService 接口及实现类。 官方文档 https://developers.weixin.qq.com/doc/channels/API/channels-shop-delivery/ewaybill/ 需要实现的接口列表(16个) 接口名称 请求路径 获取面单标准模板 ...
Opengraph URL: https://github.com/binarywang/WxJava/issues/3984
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feature] 新增电子面单模块支持","articleBody":"## 功能描述\n电子面单是物流发货的核心功能,目前WxJava完全未实现该模块。建议新增 `WxChannelEwaybillService` 接口及实现类。\n\n## 官方文档\nhttps://developers.weixin.qq.com/doc/channels/API/channels-shop-delivery/ewaybill/\n\n## 需要实现的接口列表(16个)\n\n| 接口名称 | 请求路径 |\n|----------|----------|\n| 获取面单标准模板 | `/channels/ec/logistics/ewaybill/biz/template/config` |\n| 新增面单模板 | `/channels/ec/logistics/ewaybill/biz/template/create` |\n| 删除面单模版 | `/channels/ec/logistics/ewaybill/biz/template/delete` |\n| 更新面单模版 | `/channels/ec/logistics/ewaybill/biz/template/update` |\n| 获取面单模板信息 | `/channels/ec/logistics/ewaybill/biz/template/get` |\n| 根据模板ID获取面单模板信息 | `/channels/ec/logistics/ewaybill/biz/template/getbyid` |\n| 查询开通的电子面单网点/账号信息 | `/channels/ec/logistics/ewaybill/biz/account/get` |\n| 查询开通的快递公司列表 | `/channels/ec/logistics/ewaybill/biz/delivery/get` |\n| 电子面单预取号 | `/channels/ec/logistics/ewaybill/biz/order/precreate` |\n| 电子面单取号 | `/channels/ec/logistics/ewaybill/biz/order/create` |\n| 电子面单子件追加 | `/channels/ec/logistics/ewaybill/biz/order/addsuborder` |\n| 电子面单取消下单 | `/channels/ec/logistics/ewaybill/biz/order/cancel` |\n| 查询面单详情 | `/channels/ec/logistics/ewaybill/biz/order/get` |\n| 获取打印报文 | `/channels/ec/logistics/ewaybill/biz/print/get` |\n| 打印成功通知 | `/channels/ec/logistics/ewaybill/biz/order/print` |\n| 批量打印通知 | `/channels/ec/logistics/ewaybill/biz/order/batchprint` |\n\n## 实现要点\n\n### 1. 新建服务接口\n```java\npublic interface WxChannelEwaybillService {\n // 模板管理\n TemplateConfigResponse getTemplateConfig() throws WxErrorException;\n TemplateIdResponse createTemplate(TemplateCreateRequest req) throws WxErrorException;\n WxChannelBaseResponse deleteTemplate(String templateId) throws WxErrorException;\n WxChannelBaseResponse updateTemplate(TemplateUpdateRequest req) throws WxErrorException;\n TemplateInfoResponse getTemplate(String templateId) throws WxErrorException;\n TemplateInfoResponse getTemplateById(String templateId) throws WxErrorException;\n \n // 账号管理\n AccountInfoResponse getAccount() throws WxErrorException;\n DeliveryListResponse getDeliveryList() throws WxErrorException;\n \n // 订单管理\n PreCreateResponse preCreateOrder(PreCreateRequest req) throws WxErrorException;\n CreateOrderResponse createOrder(CreateOrderRequest req) throws WxErrorException;\n WxChannelBaseResponse addSubOrder(AddSubOrderRequest req) throws WxErrorException;\n WxChannelBaseResponse cancelOrder(String waybillId) throws WxErrorException;\n OrderDetailResponse getOrder(String waybillId) throws WxErrorException;\n \n // 打印管理\n PrintContentResponse getPrintContent(String waybillId) throws WxErrorException;\n WxChannelBaseResponse printOrder(String waybillId) throws WxErrorException;\n WxChannelBaseResponse batchPrintOrder(List\u003cString\u003e waybillIds) throws WxErrorException;\n}\n```\n\n### 2. 新建Bean类\n- `TemplateConfigResponse` - 面单标准模板响应\n- `TemplateCreateRequest` - 新增模板请求\n- `TemplateUpdateRequest` - 更新模板请求\n- `TemplateInfoResponse` - 模板信息响应\n- `AccountInfoResponse` - 账号信息响应\n- `DeliveryListResponse` - 快递公司列表响应\n- `PreCreateRequest/Response` - 预取号请求/响应\n- `CreateOrderRequest/Response` - 取号请求/响应\n- `OrderDetailResponse` - 面单详情响应\n- `PrintContentResponse` - 打印报文响应\n\n### 3. URL常量定义\n在 `WxChannelApiUrlConstants.java` 中新增 `Ewaybill` 接口。\n","author":{"url":"https://github.com/binarywang","@type":"Person","name":"binarywang"},"datePublished":"2026-05-09T08:05:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3984/WxJava/issues/3984"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9f7cbf29-5a10-0f0c-0e4a-39e403f71c56 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E638:28F606:48C120:622A90:6A52792F |
| html-safe-nonce | 04df71a23dd6b7a70295f885e18b3b5d2ebb9be8170a6a2344e186ef9b921443 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjM4OjI4RjYwNjo0OEMxMjA6NjIyQTkwOjZBNTI3OTJGIiwidmlzaXRvcl9pZCI6IjI0OTk2MzQ0MDQ5OTkxOTkwMjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 57d41ff5193b4d6e7199ef50f6d6c273edbfda0476e7e08db0f7281b45c8fc59 |
| hovercard-subject-tag | issue:4411800919 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/binarywang/WxJava/3984/issue_layout |
| twitter:image | https://opengraph.githubassets.com/615b367fac57f393ab324e5c97f26675fc007a3e05b885d0c38e86de6d927b78/binarywang/WxJava/issues/3984 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/615b367fac57f393ab324e5c97f26675fc007a3e05b885d0c38e86de6d927b78/binarywang/WxJava/issues/3984 |
| og:image:alt | 功能描述 电子面单是物流发货的核心功能,目前WxJava完全未实现该模块。建议新增 WxChannelEwaybillService 接口及实现类。 官方文档 https://developers.weixin.qq.com/doc/channels/API/channels-shop-delivery/ewaybill/ 需要实现的接口列表(16个) 接口名称 请求路径 获取面单标准模板 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | binarywang |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width