Documentation ¶
Overview ¶
Package tag 服务号对话能力(原微信导购助手)/标签管理
Index ¶
- func AddGuideBuyerDisplayTag(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
- func AddGuideBuyerTag(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
- func AddGuideTagOption(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
- func DelGuideBuyerTag(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
- func Delguidetagoption(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
- func GetGuideBuyerDisplayTag(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
- func GetGuideBuyerTag(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
- func GetGuideTagOption(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
- func NewGuideTagOption(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
- func QueryGuideBuyerByTag(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGuideBuyerDisplayTag ¶
func AddGuideBuyerDisplayTag(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
设置自定义客户信息
POST https://api.weixin.qq.com/cgi-bin/guide/addguidebuyerdisplaytag?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/tag" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := tag.AddGuideBuyerDisplayTag(ctx, payload) fmt.Println(resp, err) }
Output:
func AddGuideBuyerTag ¶
func AddGuideBuyerTag(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
为客户设置标签
POST https://api.weixin.qq.com/cgi-bin/guide/addguidebuyertag?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/tag" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := tag.AddGuideBuyerTag(ctx, payload) fmt.Println(resp, err) }
Output:
func AddGuideTagOption ¶
func AddGuideTagOption(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
为标签添加可选值
POST https://api.weixin.qq.com/cgi-bin/guide/addguidetagoption?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/tag" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := tag.AddGuideTagOption(ctx, payload) fmt.Println(resp, err) }
Output:
func DelGuideBuyerTag ¶
func DelGuideBuyerTag(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
删除客户标签
POST https://api.weixin.qq.com/cgi-bin/guide/delguidebuyertag?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/tag" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := tag.DelGuideBuyerTag(ctx, payload) fmt.Println(resp, err) }
Output:
func Delguidetagoption ¶
func Delguidetagoption(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
删除指定标签类型
POST https://api.weixin.qq.com/cgi-bin/guide/delguidetagoption?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/tag" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := tag.Delguidetagoption(ctx, payload) fmt.Println(resp, err) }
Output:
func GetGuideBuyerDisplayTag ¶
func GetGuideBuyerDisplayTag(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
获取自定义客户信息
POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyerdisplaytag?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/tag" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := tag.GetGuideBuyerDisplayTag(ctx, payload) fmt.Println(resp, err) }
Output:
func GetGuideBuyerTag ¶
func GetGuideBuyerTag(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
查询客户标签
POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyertag?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/tag" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := tag.GetGuideBuyerTag(ctx, payload) fmt.Println(resp, err) }
Output:
func GetGuideTagOption ¶
func GetGuideTagOption(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
获取标签和可选值
POST https://api.weixin.qq.com/cgi-bin/guide/getguidetagoption?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/tag" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := tag.GetGuideTagOption(ctx, payload) fmt.Println(resp, err) }
Output:
func NewGuideTagOption ¶
func NewGuideTagOption(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
/cgi-bin/guide/newguidetagoption
POST https://api.weixin.qq.com/cgi-bin/guide/newguidetagoption?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/tag" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := tag.NewGuideTagOption(ctx, payload) fmt.Println(resp, err) }
Output:
func QueryGuideBuyerByTag ¶
func QueryGuideBuyerByTag(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
根据标签值筛选客户
POST https://api.weixin.qq.com/cgi-bin/guide/queryguidebuyerbytag?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/tag" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := tag.QueryGuideBuyerByTag(ctx, payload) fmt.Println(resp, err) }
Output:
Types ¶
This section is empty.