Title: feat(channel): 新增店铺链接管理接口和收藏管理接口 by Copilot · Pull Request #4029 · binarywang/WxJava · GitHub
Open Graph Title: feat(channel): 新增店铺链接管理接口和收藏管理接口 by Copilot · Pull Request #4029 · binarywang/WxJava
X Title: feat(channel): 新增店铺链接管理接口和收藏管理接口 by Copilot · Pull Request #4029 · binarywang/WxJava
Description: WxChannelBasicService 缺少店铺链接相关接口,WxChannelFavoriteService 完全缺失。本次按照官方文档补全以上 4 个接口。 店铺管理(新增至 WxChannelBasicService) 3 个新方法,响应 Bean 字段名与官方文档完全一致: 方法 接口路径 响应字段 getShopH5Url() /channels/ec/basics/shop/h5url/get shop_h5url getShopQrCode(int qrcodeType) /channels/ec/basics/shop/qrcode/get shop_qrcode getShopTagLink() /channels/ec/basics/shop/taglink/get shop_taglink qrcodeType:官方文档要求必填枚举,1=二维码,2=标准物料,3=送礼物物料。 ShopH5UrlResponse h5 = channelService.getBasicService().getShopH5Url(); ShopQrCodeResponse qr = channelService.getBasicService().getShopQrCode(1); ShopTagLinkResponse tag = channelService.getBasicService().getShopTagLink(); 收藏管理(新增 WxChannelFavoriteService) 新增独立服务,通过 channelService.getFavoriteService() 获取,懒加载初始化: FavoriteCountResponse resp = channelService.getFavoriteService().getFavoriteCount(); resp.getFavorUvAccAll(); // 所有渠道总收藏人数 resp.getFavorUvAccShopHomepage(); // 店铺首页 resp.getFavorUvAccOrderDetail(); // 订单详情页 resp.getFavorUvAccProductDetail(); // 商品详情页 resp.getFavorUvAccOtherScene(); // 其他场景 新增文件 bean/shop/ShopH5UrlResponse, ShopQrCodeResponse, ShopTagLinkResponse bean/favorite/FavoriteCountResponse api/WxChannelFavoriteService + impl/WxChannelFavoriteServiceImpl 对应单元测试:WxChannelShopLinkServiceImplTest, WxChannelFavoriteServiceImplTest
Open Graph Description: WxChannelBasicService 缺少店铺链接相关接口,WxChannelFavoriteService 完全缺失。本次按照官方文档补全以上 4 个接口。 店铺管理(新增至 WxChannelBasicService) 3 个新方法,响应 Bean 字段名与官方文档完全一致: 方法 接口路径 响应字段 getShopH5Url() /channels/ec/basic...
X Description: WxChannelBasicService 缺少店铺链接相关接口,WxChannelFavoriteService 完全缺失。本次按照官方文档补全以上 4 个接口。 店铺管理(新增至 WxChannelBasicService) 3 个新方法,响应 Bean 字段名与官方文档完全一致: 方法 接口路径 响应字段 getShopH5Url() /channels/ec/basic...
Opengraph URL: https://github.com/binarywang/WxJava/pull/4029
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:31d0c3ab-4703-b2f5-3bbc-1ce7caeb69d4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B05C:1F6AF6:1AA4A36:265E632:6A58C82E |
| html-safe-nonce | e823071f77d883d30d42d225cbde8d0df698c3f50d9b4e4db92560fcbdb8a9a1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDVDOjFGNkFGNjoxQUE0QTM2OjI2NUU2MzI6NkE1OEM4MkUiLCJ2aXNpdG9yX2lkIjoiNTc5ODQxMjM0OTExNjgyNzY5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c3c61ed078e4c4b14c8797cff9ea8091a3d3543e6d75c2f02d18f0086e2d28fd |
| hovercard-subject-tag | pull_request:3776574502 |
| 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/4029/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 | WxChannelBasicService 缺少店铺链接相关接口,WxChannelFavoriteService 完全缺失。本次按照官方文档补全以上 4 个接口。 店铺管理(新增至 WxChannelBasicService) 3 个新方法,响应 Bean 字段名与官方文档完全一致: 方法 接口路径 响应字段 getShopH5Url() /channels/ec/basic... |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width