Documentation ¶
Index ¶
- type Client
- func (comp *Client) Create(data *request.BusinessInfo) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) CreateAndGetID(data *request.BusinessInfo) (int, error)
- func (comp *Client) Delete(poiID int) (*response.ResponsePOIGet, error)
- func (comp *Client) Get(poiID int) (*response.ResponsePOIGet, error)
- func (comp *Client) List(offset int, limit int) (*response.ResponsePOIList, error)
- func (comp *Client) Update(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 {
*kernel.BaseClient
}
func NewClient ¶
func NewClient(app kernel.ApplicationInterface) *Client
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) *Client
func (*Client) Create ¶
func (comp *Client) Create(data *request.BusinessInfo) (*response2.ResponseOfficialAccount, error)
查询门店列表 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html
func (*Client) CreateAndGetID ¶
func (comp *Client) CreateAndGetID(data *request.BusinessInfo) (int, error)
查询门店列表并获取POI ID https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html
func (*Client) Delete ¶
func (comp *Client) Delete(poiID int) (*response.ResponsePOIGet, error)
删除门店 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html
func (*Client) Get ¶
func (comp *Client) Get(poiID int) (*response.ResponsePOIGet, error)
查询门店信息 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html
func (*Client) List ¶
查询门店列表 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html
func (*Client) Update ¶
func (comp *Client) Update(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.