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