Title: feat(channel): 实现视频号小店缺失的商品相关API(Issue #4002) by Copilot · Pull Request #4033 · binarywang/WxJava · GitHub
Open Graph Title: feat(channel): 实现视频号小店缺失的商品相关API(Issue #4002) by Copilot · Pull Request #4033 · binarywang/WxJava
X Title: feat(channel): 实现视频号小店缺失的商品相关API(Issue #4002) by Copilot · Pull Request #4033 · binarywang/WxJava
Description: Issue #4002 列出了 weixin-java-channel 模块中缺失的28个视频号小店接口。本次实现其中有官方文档可查的14个接口,跳过文档404的6个接口(礼品活动、审核策略、审核配额)。 新增 WxChannelGiftService(赠品管理) 6个接口:addGiftProduct / updateGiftProduct / setProductAsGift / getGiftProduct / listGiftProduct / updateGiftStock WxChannelGiftService giftService = wxChannelService.getGiftService(); // 添加非卖赠品 GiftProductInfo info = new GiftProductInfo(); info.setTitle("赠品名称"); // ... GiftProductResponse resp = giftService.addGiftProduct(info); // 获取赠品详情 GiftGetResponse detail = giftService.getGiftProduct(productId, 3); 扩展 WxChannelProductService(新增8个接口) 方法 对应微信API updateLimitTask 更新限时抢购任务 getStockFlow 获取库存流水 categoryPreCheck 发品前类目资质校验 getProductBrandRecommend 商品品牌推荐 externalProductMapping 站内外商品属性映射 externalProductMappingNew 站内外商品属性映射(新版) beginTimingSale 商品立即开售 cancelTimingSale 取消商品开售 新增 Bean 类 bean/gift/:13个类,涵盖赠品增删改查及库存变更所需的请求/响应模型 bean/limit/:LimitSkuUpdate、LimitTaskUpdateParam、LimitTaskUpdateResponse bean/product/:StockFlow*(4个)、CategoryPreCheckResponse、ProductBrandRecommend*(2个)、ExternalProductMapping*(4个)、ExternalAttribute 注意事项 GiftProductUpdateInfo 未继承 GiftProductInfo,避免 Jackson 对同名 @JsonProperty("skus") 字段产生重复序列化。
Open Graph Description: Issue #4002 列出了 weixin-java-channel 模块中缺失的28个视频号小店接口。本次实现其中有官方文档可查的14个接口,跳过文档404的6个接口(礼品活动、审核策略、审核配额)。 新增 WxChannelGiftService(赠品管理) 6个接口:addGiftProduct / updateGiftProduct / setProductAsGift / get...
X Description: Issue #4002 列出了 weixin-java-channel 模块中缺失的28个视频号小店接口。本次实现其中有官方文档可查的14个接口,跳过文档404的6个接口(礼品活动、审核策略、审核配额)。 新增 WxChannelGiftService(赠品管理) 6个接口:addGiftProduct / updateGiftProduct / setProductAsGift / get...
Opengraph URL: https://github.com/binarywang/WxJava/pull/4033
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:64b84bed-c029-f7a6-5f7e-ad6cc3aa5232 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9B2A:B413C:2845618:3972628:6A5902BF |
| html-safe-nonce | b42dad10aaa717b549c004744e6b3c128f9320de744e28d837a65a262e0258b4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjJBOkI0MTNDOjI4NDU2MTg6Mzk3MjYyODo2QTU5MDJCRiIsInZpc2l0b3JfaWQiOiIxNjUyOTIyNTAzNTY2Nzg3MjY0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bb5a4ad899cdd39f7938590d3112ae1d39af31a50b1b773edd767b72dffe0cc2 |
| hovercard-subject-tag | pull_request:3776577232 |
| 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/4033/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 | Issue #4002 列出了 weixin-java-channel 模块中缺失的28个视频号小店接口。本次实现其中有官方文档可查的14个接口,跳过文档404的6个接口(礼品活动、审核策略、审核配额)。 新增 WxChannelGiftService(赠品管理) 6个接口:addGiftProduct / updateGiftProduct / setProductAsGift / get... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| 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 | 9842457e8d7e3b2e1635a63af28da35614845510 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width