Documentation ¶
Index ¶
- type Client
- func (comp *Client) Add(ctx context.Context, data *power.HashMap) (*response.ResponseNearbyPoiAdd, error)
- func (comp *Client) Delete(ctx context.Context, poiID string) (*response2.ResponseMiniProgram, error)
- func (comp *Client) GetList(ctx context.Context, page int, pageRows int) (*response.ResponseNearbyPoiGetList, error)
- func (comp *Client) SetShowStatus(ctx context.Context, poiID string, status int) (*response2.ResponseMiniProgram, 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) Add ¶
func (comp *Client) Add(ctx context.Context, data *power.HashMap) (*response.ResponseNearbyPoiAdd, error)
添加地点 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/nearby-poi/nearbyPoi.add.html
func (*Client) Delete ¶
func (*Client) GetList ¶
func (*Client) SetShowStatus ¶
func (comp *Client) SetShowStatus(ctx context.Context, poiID string, status int) (*response2.ResponseMiniProgram, error)
展示/取消展示附近小程序 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/nearby-poi/nearbyPoi.setShowStatus.html
Click to show internal directories.
Click to hide internal directories.