Documentation
¶
Index ¶
- type ActionType
- type LeadsLevelType
- type LeadsTagUserList
- type LeadsUser
- type LeadsUserAction
- type LeadsUserList
- type TagInfo
- type TagList
- type UpdateUserTagReq
- type User
- func (user *User) CreateTag(openid, tagName string) (tagID string, err error)
- func (user *User) LeadsUserDetail(openid, userid string) (leadsUser *LeadsUser, err error)
- func (user *User) ListLeadsTag(openid string, cursor, count int64) (res *TagList, err error)
- func (user *User) ListLeadsTagUser(openid, tagid string, cursor, count int64) (leadsTagUser *LeadsTagUserList, err error)
- func (user *User) ListLeadsUser(openid string, cursor, count int64, startTime, endTime, leadsLevel int64, ...) (res *LeadsUserList, err error)
- func (user *User) ListLeadsUserAction(openid, userid string, count int64, cursor string, actionType int64) (leadsUserAction *LeadsUserAction, err error)
- func (user *User) UpdateTag(openid, tagName, tagID string) (err error)
- func (user *User) UpdateUserTag(openid string, req UpdateUserTagReq) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeadsTagUserList ¶
type LeadsTagUserList struct { util.CommonError Cursor int64 `json:"cursor"` HasMore bool `json:"has_more"` List []string `json:"list"` }
LeadsTagUserList .
type LeadsUser ¶
type LeadsUser struct { util.CommonError Avatar string `json:"avatar"` City string `json:"city"` Age int64 `json:"age"` Gender int64 `json:"gender"` IsFollow bool `json:"is_follow"` LeadsLevel int64 `json:"leads_level"` Nickname string `json:"nickname"` OpenID string `json:"open_id"` TagList []TagInfo `json:"tag_list"` Telephone string `json:"telephone"` Wechat string `json:"wechat"` }
LeadsUser 意向用户详情.
type LeadsUserAction ¶
type LeadsUserAction struct { util.CommonError Cursor int64 `json:"cursor"` HasMore bool `json:"has_more"` List []struct { ActionFlag int64 `json:"action_flag"` ActionSource string `json:"action_source"` ActionType int64 `json:"action_type"` CreateTime int64 `json:"create_time"` UserID int64 `json:"user_id"` } `json:"list"` }
LeadsUserAction user action.
type LeadsUserList ¶
type LeadsUserList struct { util.CommonError Total int64 `json:"total"` Cursor int64 `json:"cursor"` HasMore bool `json:"has_more"` Users []LeadsUser `json:"users"` }
LeadsUserList user list.
type TagList ¶
type TagList struct { util.CommonError Cursor int64 `json:"cursor"` HasMore bool `json:"has_more"` List []TagInfo `json:"list"` }
TagList .
type UpdateUserTagReq ¶ added in v1.0.2
type UpdateUserTagReq struct { Bind bool `json:"bind"` TagID string `json:"tag_id"` UserID string `json:"user_id"` }
UpdateUserTagReq .
type User ¶
User 用户
func (*User) LeadsUserDetail ¶
LeadsUserDetail 获取意向用户详情
func (*User) ListLeadsTag ¶
ListLeadsTag 获取标签列表.
func (*User) ListLeadsTagUser ¶
func (user *User) ListLeadsTagUser(openid, tagid string, cursor, count int64) (leadsTagUser *LeadsTagUserList, err error)
ListLeadsTagUser 获取打标签的用户列表.
func (*User) ListLeadsUser ¶
func (user *User) ListLeadsUser(openid string, cursor, count int64, startTime, endTime, leadsLevel int64, actionType int64) (res *LeadsUserList, err error)
ListLeadsUser 获取意向用户列表
func (*User) ListLeadsUserAction ¶
func (user *User) ListLeadsUserAction(openid, userid string, count int64, cursor string, actionType int64) (leadsUserAction *LeadsUserAction, err error)
ListLeadsUserAction 获取意向用户互动记录
func (*User) UpdateUserTag ¶ added in v1.0.2
func (user *User) UpdateUserTag(openid string, req UpdateUserTagReq) (err error)
UpdateUserTag 给用户设置标签.
Click to show internal directories.
Click to hide internal directories.