René's URL Explorer Experiment


Title: feat(channel): 新增微信小店赠品与买赠活动模块接口支持 by Copilot · Pull Request #4030 · binarywang/WxJava · GitHub

Open Graph Title: feat(channel): 新增微信小店赠品与买赠活动模块接口支持 by Copilot · Pull Request #4030 · binarywang/WxJava

X Title: feat(channel): 新增微信小店赠品与买赠活动模块接口支持 by Copilot · Pull Request #4030 · binarywang/WxJava

Description: 当前 weixin-java-channel 的商品服务未覆盖微信小店「赠品」与「买赠活动」能力,导致相关营销链路在 SDK 中不可用。该变更在 WxChannelProductService 补齐官方文档列出的 9 个接口,并提供对应请求/响应模型与实现。 接口能力补齐(商品服务) 在 WxChannelProductService 新增 9 个方法: 赠品:addGiftProduct、updateGiftProduct、setProductAsGift、getGiftProduct、listGiftProduct、updateGiftStock 买赠活动:addGiftActivity、deleteGiftActivity、stopGiftActivity 在 WxChannelProductServiceImpl 完成对应调用与返回值映射(创建类接口返回 ID,更新/删除/停止类接口按空返回设计处理)。 API 路径常量新增 在 WxChannelApiUrlConstants.Spu 增加: /channels/ec/product/gift/add /channels/ec/product/gift/update /channels/ec/product/gift/onsale/set /channels/ec/product/gift/get /channels/ec/product/gift/list/get /channels/ec/product/gift/stock/update /channels/ec/product/activity/add /channels/ec/product/activity/del /channels/ec/product/activity/stop 数据模型新增(按接口语义拆分) 赠品:GiftProductInfo、GiftProductAddResponse、GiftProductGetResponse、GiftProductListParam、GiftProductListResponse 买赠活动:GiftActivityInfo、GiftActivityAddParam、GiftActivityAddResponse 单元测试补充 在 WxChannelProductServiceImplTest 增加 9 个对应测试方法,覆盖新增服务入口的调用与基本返回契约。 示例(新增服务调用): WxChannelProductService productService = channelService.getProductService(); // 创建赠品活动 GiftActivityInfo info = new GiftActivityInfo(); String activityId = productService.addGiftActivity(info); // 停止活动 productService.stopGiftActivity(activityId);

Open Graph Description: 当前 weixin-java-channel 的商品服务未覆盖微信小店「赠品」与「买赠活动」能力,导致相关营销链路在 SDK 中不可用。该变更在 WxChannelProductService 补齐官方文档列出的 9 个接口,并提供对应请求/响应模型与实现。 接口能力补齐(商品服务) 在 WxChannelProductService 新增 9 个方法: 赠品:addGiftProd...

X Description: 当前 weixin-java-channel 的商品服务未覆盖微信小店「赠品」与「买赠活动」能力,导致相关营销链路在 SDK 中不可用。该变更在 WxChannelProductService 补齐官方文档列出的 9 个接口,并提供对应请求/响应模型与实现。 接口能力补齐(商品服务) 在 WxChannelProductService 新增 9 个方法: 赠品:addGiftProd...

Opengraph URL: https://github.com/binarywang/WxJava/pull/4030

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d27b8bb0-5d88-f5db-3f0e-c5835ba77fc9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD6A2:623C0:E53335:14860FA:6A5897E7
html-safe-nonce6a706abb0095e1313bd00d3c3d3bc0f0290ce09909eb4bb926a0fad2adb7542d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkEyOjYyM0MwOkU1MzMzNToxNDg2MEZBOjZBNTg5N0U3IiwidmlzaXRvcl9pZCI6IjgwNTk5NzYwNDkzOTUwMTM2MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac89e21563b03d7d1006c505fcb5a4a52d14c848b714f8f661e8a8c8148a239e00
hovercard-subject-tagpull_request:3776574757
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/binarywang/WxJava/pull/4030/files
twitter:imagehttps://avatars.githubusercontent.com/in/1143301?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/1143301?s=400&v=4
og:image:alt当前 weixin-java-channel 的商品服务未覆盖微信小店「赠品」与「买赠活动」能力,导致相关营销链路在 SDK 中不可用。该变更在 WxChannelProductService 补齐官方文档列出的 9 个接口,并提供对应请求/响应模型与实现。 接口能力补齐(商品服务) 在 WxChannelProductService 新增 9 个方法: 赠品:addGiftProd...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/binarywang/WxJava git https://github.com/binarywang/WxJava.git
octolytics-dimension-user_id1343140
octolytics-dimension-user_loginbinarywang
octolytics-dimension-repository_id49122742
octolytics-dimension-repository_nwobinarywang/WxJava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49122742
octolytics-dimension-repository_network_root_nwobinarywang/WxJava
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/binarywang/WxJava/pull/4030/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbinarywang%2FWxJava%2Fpull%2F4030%2Ffiles
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbinarywang%2FWxJava%2Fpull%2F4030%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=binarywang%2FWxJava
Reloadhttps://github.com/binarywang/WxJava/pull/4030/files
Reloadhttps://github.com/binarywang/WxJava/pull/4030/files
Reloadhttps://github.com/binarywang/WxJava/pull/4030/files
binarywang https://github.com/binarywang
WxJavahttps://github.com/binarywang/WxJava
Please reload this pagehttps://github.com/binarywang/WxJava/pull/4030/files
Notifications https://github.com/login?return_to=%2Fbinarywang%2FWxJava
Fork 9.1k https://github.com/login?return_to=%2Fbinarywang%2FWxJava
Star 32.9k https://github.com/login?return_to=%2Fbinarywang%2FWxJava
Code https://github.com/binarywang/WxJava
Issues 16 https://github.com/binarywang/WxJava/issues
Pull requests 10 https://github.com/binarywang/WxJava/pulls
Discussions https://github.com/binarywang/WxJava/discussions
Actions https://github.com/binarywang/WxJava/actions
Wiki https://github.com/binarywang/WxJava/wiki
Security and quality 0 https://github.com/binarywang/WxJava/security
Insights https://github.com/binarywang/WxJava/pulse
Code https://github.com/binarywang/WxJava
Issues https://github.com/binarywang/WxJava/issues
Pull requests https://github.com/binarywang/WxJava/pulls
Discussions https://github.com/binarywang/WxJava/discussions
Actions https://github.com/binarywang/WxJava/actions
Wiki https://github.com/binarywang/WxJava/wiki
Security and quality https://github.com/binarywang/WxJava/security
Insights https://github.com/binarywang/WxJava/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fbinarywang%2FWxJava%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fbinarywang%2FWxJava%2Fissues%2Fnew%2Fchoose
Copilothttps://github.com/apps/copilot-swe-agent
develophttps://github.com/binarywang/WxJava/tree/develop
copilot/fix-1343140-49122742-f5592df9-6312-4996-9035-a3f2c97651a8https://github.com/binarywang/WxJava/tree/copilot/fix-1343140-49122742-f5592df9-6312-4996-9035-a3f2c97651a8
Conversation 10 https://github.com/binarywang/WxJava/pull/4030
Commits 2 https://github.com/binarywang/WxJava/pull/4030/commits
Checks 0 https://github.com/binarywang/WxJava/pull/4030/checks
Files changed https://github.com/binarywang/WxJava/pull/4030/files
Please reload this pagehttps://github.com/binarywang/WxJava/pull/4030/files
feat(channel): 新增微信小店赠品与买赠活动模块接口支持 https://github.com/binarywang/WxJava/pull/4030/files#top
Show all changes 2 commits https://github.com/binarywang/WxJava/pull/4030/files
2978a7a Initial plan Copilot May 31, 2026 https://github.com/binarywang/WxJava/pull/4030/commits/2978a7ae93da2c5e11acef6482d41dccdd4280e0
5fabd7c 新增微信小店赠品与买赠活动接口支持 Copilot May 31, 2026 https://github.com/binarywang/WxJava/pull/4030/commits/5fabd7cb6cbf074033f11c83796509956129c2b7
Clear filters https://github.com/binarywang/WxJava/pull/4030/files
Please reload this pagehttps://github.com/binarywang/WxJava/pull/4030/files
Please reload this pagehttps://github.com/binarywang/WxJava/pull/4030/files
WxChannelProductService.java https://github.com/binarywang/WxJava/pull/4030/files#diff-24589a23376440e3d74767e26f76427bdc130c943e5c159d4c429f45f66ebe19
WxChannelProductServiceImpl.java https://github.com/binarywang/WxJava/pull/4030/files#diff-5c74af903384b3e21836263a8659383b6e15a2725311c4d56c9d5adf90ac34f1
GiftActivityAddParam.java https://github.com/binarywang/WxJava/pull/4030/files#diff-9c5d9357092c764e26712e2c86f102b4959f0b71451007950bc0f4e4937b4fff
GiftActivityAddResponse.java https://github.com/binarywang/WxJava/pull/4030/files#diff-383e3bb9d393261bfa23fd510c9479edf24fef48c70d119fe2c922affec76b27
GiftActivityInfo.java https://github.com/binarywang/WxJava/pull/4030/files#diff-1fc176a0afc0a4474bc368ee132ce4d15fbd4b1dea04e01d9a26f542a977c977
GiftProductAddResponse.java https://github.com/binarywang/WxJava/pull/4030/files#diff-aa1d0bce144a97bd5335287af095d1982682795857273f8976418ab913ad9f90
GiftProductGetResponse.java https://github.com/binarywang/WxJava/pull/4030/files#diff-63abb7de608806b524ffe836ee36ae13d2932a0de75fa8f42a7bd10b4a51ff8a
GiftProductInfo.java https://github.com/binarywang/WxJava/pull/4030/files#diff-3e527fc067f97f2041488f51bd7eb3ac44b486c544e3362119e4349df4fb80e6
GiftProductListParam.java https://github.com/binarywang/WxJava/pull/4030/files#diff-b3272b3cad0684a8ce5ed661b8add6a47ed9c629355931e17c6b4b9df17ba3bc
GiftProductListResponse.java https://github.com/binarywang/WxJava/pull/4030/files#diff-a3b3f47f85489f484723f4402bf7e88a2b090445e4a5566723560e8de905376a
WxChannelApiUrlConstants.java https://github.com/binarywang/WxJava/pull/4030/files#diff-6ec3198cd7e242b9f86df7e760aba2d42f7405467180472bd0da738b52b55bed
WxChannelProductServiceImplTest.java https://github.com/binarywang/WxJava/pull/4030/files#diff-e94357291566df151a4ca34d61c1ef21984249618014ab50ec4935a894d33459
weixin-java-channel/src/main/java/me/chanjar/weixin/channel/api/WxChannelProductService.javahttps://github.com/binarywang/WxJava/pull/4030/files#diff-24589a23376440e3d74767e26f76427bdc130c943e5c159d4c429f45f66ebe19
View file https://github.com/binarywang/WxJava/blob/5fabd7cb6cbf074033f11c83796509956129c2b7/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/api/WxChannelProductService.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/binarywang/WxJava/pull/4030/{{ revealButtonHref }}
https://github.com/binarywang/WxJava/pull/4030/files#diff-24589a23376440e3d74767e26f76427bdc130c943e5c159d4c429f45f66ebe19
https://github.com/binarywang/WxJava/pull/4030/files#diff-24589a23376440e3d74767e26f76427bdc130c943e5c159d4c429f45f66ebe19
https://github.com/binarywang/WxJava/pull/4030/files#diff-24589a23376440e3d74767e26f76427bdc130c943e5c159d4c429f45f66ebe19
https://github.com/binarywang/WxJava/pull/4030/files#diff-24589a23376440e3d74767e26f76427bdc130c943e5c159d4c429f45f66ebe19
...channel/src/main/java/me/chanjar/weixin/channel/api/impl/WxChannelProductServiceImpl.javahttps://github.com/binarywang/WxJava/pull/4030/files#diff-5c74af903384b3e21836263a8659383b6e15a2725311c4d56c9d5adf90ac34f1
View file https://github.com/binarywang/WxJava/blob/5fabd7cb6cbf074033f11c83796509956129c2b7/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/api/impl/WxChannelProductServiceImpl.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/binarywang/WxJava/pull/4030/{{ revealButtonHref }}
https://github.com/binarywang/WxJava/pull/4030/files#diff-5c74af903384b3e21836263a8659383b6e15a2725311c4d56c9d5adf90ac34f1
https://github.com/binarywang/WxJava/pull/4030/files#diff-5c74af903384b3e21836263a8659383b6e15a2725311c4d56c9d5adf90ac34f1
https://github.com/binarywang/WxJava/pull/4030/files#diff-5c74af903384b3e21836263a8659383b6e15a2725311c4d56c9d5adf90ac34f1
https://github.com/binarywang/WxJava/pull/4030/files#diff-5c74af903384b3e21836263a8659383b6e15a2725311c4d56c9d5adf90ac34f1
https://github.com/binarywang/WxJava/pull/4030/files#diff-5c74af903384b3e21836263a8659383b6e15a2725311c4d56c9d5adf90ac34f1
...va-channel/src/main/java/me/chanjar/weixin/channel/bean/product/GiftActivityAddParam.javahttps://github.com/binarywang/WxJava/pull/4030/files#diff-9c5d9357092c764e26712e2c86f102b4959f0b71451007950bc0f4e4937b4fff
View file https://github.com/binarywang/WxJava/blob/5fabd7cb6cbf074033f11c83796509956129c2b7/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/GiftActivityAddParam.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/binarywang/WxJava/pull/4030/{{ revealButtonHref }}
...channel/src/main/java/me/chanjar/weixin/channel/bean/product/GiftActivityAddResponse.javahttps://github.com/binarywang/WxJava/pull/4030/files#diff-383e3bb9d393261bfa23fd510c9479edf24fef48c70d119fe2c922affec76b27
View file https://github.com/binarywang/WxJava/blob/5fabd7cb6cbf074033f11c83796509956129c2b7/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/GiftActivityAddResponse.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/binarywang/WxJava/pull/4030/{{ revealButtonHref }}
...n-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/GiftActivityInfo.javahttps://github.com/binarywang/WxJava/pull/4030/files#diff-1fc176a0afc0a4474bc368ee132ce4d15fbd4b1dea04e01d9a26f542a977c977
View file https://github.com/binarywang/WxJava/blob/5fabd7cb6cbf074033f11c83796509956129c2b7/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/GiftActivityInfo.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/binarywang/WxJava/pull/4030/{{ revealButtonHref }}
...-channel/src/main/java/me/chanjar/weixin/channel/bean/product/GiftProductAddResponse.javahttps://github.com/binarywang/WxJava/pull/4030/files#diff-aa1d0bce144a97bd5335287af095d1982682795857273f8976418ab913ad9f90
View file https://github.com/binarywang/WxJava/blob/5fabd7cb6cbf074033f11c83796509956129c2b7/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/GiftProductAddResponse.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/binarywang/WxJava/pull/4030/{{ revealButtonHref }}
...-channel/src/main/java/me/chanjar/weixin/channel/bean/product/GiftProductGetResponse.javahttps://github.com/binarywang/WxJava/pull/4030/files#diff-63abb7de608806b524ffe836ee36ae13d2932a0de75fa8f42a7bd10b4a51ff8a
View file https://github.com/binarywang/WxJava/blob/5fabd7cb6cbf074033f11c83796509956129c2b7/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/GiftProductGetResponse.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/binarywang/WxJava/pull/4030/{{ revealButtonHref }}
Please reload this pagehttps://github.com/binarywang/WxJava/pull/4030/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.