Documentation ¶
Index ¶
- type Client
- func (comp *Client) Categories(ctx context.Context) (*response.ResponseStoreCategory, error)
- func (comp *Client) Create(ctx context.Context, data *request.RequestStoreCreate) (*response.ResponseStoreCreate, error)
- func (comp *Client) CreateFromMap(ctx context.Context, data *request.BaseInfo) (*response.ResponseStoreCreateFromMap, error)
- func (comp *Client) Delete(ctx context.Context, poiID int) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) Districts(ctx context.Context) (*response.ResponseStoreDistrict, error)
- func (comp *Client) Get(ctx context.Context, poiID int) (*response.ResponseStoreInfo, error)
- func (comp *Client) GetStatus(ctx context.Context) (*response.ResponseStoreGetStatus, error)
- func (comp *Client) List(ctx context.Context, offset int, limit int) (*response.ResponseStoreInfo, error)
- func (comp *Client) SearchFromMap(ctx context.Context, districtID int, keyword string) (*response.ResponseStoreSearchMapPIO, error)
- func (comp *Client) Update(ctx context.Context, data *request.RequestStoreUpdate) (*response.ResponseStoreUpdate, error)
- func (comp *Client) UpdateMerchant(ctx context.Context, mediaID int, intro string) (*response.ResponseStoreSearchMapPIO, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseClient *kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)
func (*Client) Categories ¶
func (*Client) Create ¶
func (comp *Client) Create(ctx context.Context, data *request.RequestStoreCreate) (*response.ResponseStoreCreate, error)
func (*Client) CreateFromMap ¶
func (*Client) Delete ¶
func (*Client) Districts ¶
从腾讯地图拉取省市区信息 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html
func (*Client) GetStatus ¶
查询门店小程序审核结果 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html
func (*Client) List ¶
func (*Client) SearchFromMap ¶
func (*Client) Update ¶
func (comp *Client) Update(ctx context.Context, data *request.RequestStoreUpdate) (*response.ResponseStoreUpdate, error)
func (*Client) UpdateMerchant ¶
Click to show internal directories.
Click to hide internal directories.