Documentation ¶
Index ¶
- type Client
- func (comp *Client) Create(ctx context.Context, data *request.BusinessInfo) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) CreateAndGetID(ctx context.Context, data *request.BusinessInfo) (int, error)
- func (comp *Client) Delete(ctx context.Context, poiID int) (*response.ResponsePOIGet, error)
- func (comp *Client) Get(ctx context.Context, poiID int) (*response.ResponsePOIGet, error)
- func (comp *Client) List(ctx context.Context, offset int, limit int) (*response.ResponsePOIList, error)
- func (comp *Client) Update(ctx context.Context, data *request.BusinessInfo) (*response2.ResponseOfficialAccount, 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) Create ¶
func (comp *Client) Create(ctx context.Context, data *request.BusinessInfo) (*response2.ResponseOfficialAccount, error)
查询门店列表 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html
func (*Client) CreateAndGetID ¶
查询门店列表并获取POI ID https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html
func (*Client) Delete ¶
删除门店 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html
func (*Client) Get ¶
查询门店信息 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html
func (*Client) List ¶
func (comp *Client) List(ctx context.Context, offset int, limit int) (*response.ResponsePOIList, error)
查询门店列表 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html
func (*Client) Update ¶
func (comp *Client) Update(ctx context.Context, data *request.BusinessInfo) (*response2.ResponseOfficialAccount, error)
修改门店服务信息 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html
Click to show internal directories.
Click to hide internal directories.