Documentation ¶
Index ¶
- type Client
- func (comp *Client) Create(options *request.RequestCustomerStrategyCreate) (*response.ResponseCustomerStrategyCreate, error)
- func (comp *Client) Del(strategyID int64) (*response2.ResponseWork, error)
- func (comp *Client) Edit(options *request.RequestCustomerStrategyEdit) (*response2.ResponseWork, error)
- func (comp *Client) Get(strategyID int64) (*response.ResponseCustomerStrategyGet, error)
- func (comp *Client) GetRange(strategyID int64, cursor string, limit int64) (*response.ResponseCustomerStrategyGetRange, error)
- func (comp *Client) List(cursor string, limit int64) (*response.ResponseCustomerStrategyList, 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 (*Client) Create ¶
func (comp *Client) Create(options *request.RequestCustomerStrategyCreate) (*response.ResponseCustomerStrategyCreate, error)
创建新的规则组 https://work.weixin.qq.com/api/doc/90000/90135/94883
func (*Client) Edit ¶
func (comp *Client) Edit(options *request.RequestCustomerStrategyEdit) (*response2.ResponseWork, error)
编辑规则组及其管理范围 https://work.weixin.qq.com/api/doc/90000/90135/94883
func (*Client) Get ¶
func (comp *Client) Get(strategyID int64) (*response.ResponseCustomerStrategyGet, error)
获取规则组详情 https://work.weixin.qq.com/api/doc/90000/90135/94883
func (*Client) GetRange ¶
func (comp *Client) GetRange(strategyID int64, cursor string, limit int64) (*response.ResponseCustomerStrategyGetRange, error)
获取规则组管理范围 https://work.weixin.qq.com/api/doc/90000/90135/94883
func (*Client) List ¶
func (comp *Client) List(cursor string, limit int64) (*response.ResponseCustomerStrategyList, error)
获取规则组列表 https://work.weixin.qq.com/api/doc/90000/90135/94883
Click to show internal directories.
Click to hide internal directories.