Skip to content

[Feature] 新增店铺管理和收藏管理接口 #3992

Description

@binarywang

功能描述

店铺管理缺少店铺链接相关接口,收藏管理完全缺失。

官方文档

需要实现的接口列表(4个)

店铺管理(3个)

接口名称 请求路径
获取店铺H5链接 /channels/ec/basics/shop/h5url/get
获取店铺二维码 /channels/ec/basics/shop/qrcode/get
获取店铺口令 /channels/ec/basics/shop/taglink/get

收藏管理(1个)

接口名称 请求路径
获取店铺收藏的人数 /channels/ec/favorites/count/get

实现要点

1. 店铺管理

建议在 WxChannelBasicService 中新增以下方法:

ShopH5UrlResponse getShopH5Url() throws WxErrorException;
ShopQrCodeResponse getShopQrCode() throws WxErrorException;
ShopTagLinkResponse getShopTagLink() throws WxErrorException;

2. 收藏管理

建议新增 WxChannelFavoriteService:

public interface WxChannelFavoriteService {
  FavoriteCountResponse getFavoriteCount() throws WxErrorException;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions