platform

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pr

func Pr(val ...interface{})

Types

type Cacheversion

type Cacheversion struct {
	CacheVersion     int    `json:"cache_version"`
	DbVersion        string `json:"db_version"`
	AcctCacheVersion int    `json:"acct_cache_version"`
	AcctDbVersion    string `json:"acct_db_version"`
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client 管理后台实例

func NewClient

func NewClient(cfg *config.Config) (client *Client, err error)

NewClient 初始化Platform

func (*Client) GetAppAdminInfo

func (r *Client) GetAppAdminInfo(appId string) (adminRes GetAppAdminInfoRes, err error)

GetAppAdminInfo 获取应用管理员

func (*Client) GetApplyList

func (r *Client) GetApplyList(start, limit int) (ret GetApplyInfoResp, err error)

GetApplyList 获取邀请客户进企业的列表

func (*Client) GetCorpApplication

func (r *Client) GetCorpApplication() (corpApp CorpApplicationRes, err error)

GetCorpApplication 获取所有应用列表

func (*Client) GetCorpEncryptDataAppInfo

func (r *Client) GetCorpEncryptDataAppInfo() (ret CorpEncryptDataAppInfoRes, err error)

GetCorpEncryptDataAppInfo 获取会话存档数量

func (*Client) GetDeptCache

func (r *Client) GetDeptCache() (deptCache DeptCacheRes, err error)

GetDeptCache 获取部门列表

func (*Client) GetDeptStaff

func (r *Client) GetDeptStaff(partyId string, page, size int) (deptStaff DeptStaffDataRes, err error)

GetDeptStaff 获取员工列表,page 0 代表第一页

func (*Client) GetRoleList

func (r *Client) GetRoleList() (ret GetRoleListRes, err error)

GetRoleList 获取管理员列表

func (*Client) GetSingleMember

func (r *Client) GetSingleMember(vid string) (ret GetSingleMemberRes, err error)

GetSingleMember 获取管理员列表

func (*Client) ModMemberDepartmentBatch

func (r *Client) ModMemberDepartmentBatch(option DepartmentBatchOption) (dept DepartmentBatchRes, err error)

ModMemberDepartmentBatch 批量修改部门

func (*Client) SaveAppRole

func (r *Client) SaveAppRole(appId string) (adminRes GetAppAdminInfoRes, err error)

SaveAppRole 保存应用负责人

func (*Client) SaveIpWhiteList

func (r *Client) SaveIpWhiteList(appId string, ipWhiteList []string) (setRes SaveIpWhiteListRes, err error)

SaveIpWhiteList 设置应用API白名单

func (*Client) SaveMember

func (r *Client) SaveMember(info SaveMemberSchema) (res SaveMemberRes, err error)

SaveMember 保存用户信息

func (*Client) SaveOpenApiAppRangeUrl

func (r *Client) SaveOpenApiAppRangeUrl(appId string, visibleVid, visiblePid []string) (setRes SaveOpenApiAppRes, err error)

SaveOpenApiAppRangeUrl 设置应用可见范围

func (*Client) SearchStaff

func (r *Client) SearchStaff(key string) (searchStaff SearchStaffRes, err error)

SearchStaff 搜索获取员工列表

func (*Client) SettingApiCallback

func (r *Client) SettingApiCallback(appId, callbackUrl, token, eAesKey string) (setRes SaveOpenApiAppRes, err error)

SettingApiCallback 设置应用API 接收

func (*Client) UpCloseApp

func (r *Client) UpCloseApp(appId string, upClose string) (setRes SaveOpenApiAppRes, err error)

UpCloseApp 开启或关闭应用状态

type ContactList

type ContactList struct {
	List []ContactListChild `json:"list"`
}

type ContactListChild

type ContactListChild struct {
	CorpID              string           `json:"corp_id"`
	Vid                 string           `json:"vid"`
	Name                string           `json:"name"`
	Mobile              string           `json:"mobile"`
	Email               string           `json:"email"`
	Gender              int              `json:"gender"`
	DepartIds           []string         `json:"depart_ids"`
	Position            string           `json:"position"`
	Wechat              string           `json:"wechat"`
	Avatar              string           `json:"avatar"`
	Account             string           `json:"account"`
	ExtTel              string           `json:"ext_tel"`
	DisableStat         int              `json:"disable_stat"`
	IdentityStat        int              `json:"identity_stat"`
	ManageStat          int              `json:"manage_stat"`
	BindStat            int              `json:"bind_stat"`
	EnglishName         string           `json:"english_name"`
	LoginStat           int              `json:"login_stat"`
	Alias               string           `json:"alias"`
	ActiveBiz           bool             `json:"active_biz"`
	Domainid            int              `json:"domainid"`
	WxqyUserid          string           `json:"wxqy_userid"`
	Gid                 interface{}      `json:"gid"`
	Pinyin              string           `json:"pinyin"`
	MainpartyID         interface{}      `json:"mainparty_id"`
	DisableBiz          bool             `json:"disable_biz"`
	CountryCode         string           `json:"country_code"`
	WxIDHash            string           `json:"wx_id_hash"`
	DepartNames         []interface{}    `json:"depart_names"`
	HideMobile          bool             `json:"hide_mobile"`
	DispOrder           []DispOrder      `json:"disp_order"`
	Acctid              string           `json:"acctid"`
	Attrs               []interface{}    `json:"attrs"`
	IsQuit              bool             `json:"is_quit"`
	IsWwBizmailVip      bool             `json:"is_ww_bizmail_vip"`
	IsWwBizmail         bool             `json:"is_ww_bizmail"`
	IsJoinQyh           bool             `json:"is_join_qyh"`
	PstnExtensionNumber string           `json:"pstn_extension_number"`
	ExternalAttrs       []interface{}    `json:"external_attrs"`
	UserQuitTime        int              `json:"user_quit_time"`
	IsReadyJoinAgain    bool             `json:"is_ready_join_again"`
	XcxCorpAddress      string           `json:"xcx_corp_address"`
	ExternalCorpInfo    string           `json:"external_corp_info"`
	ExternalWxfinder    ExternalWxfinder `json:"external_wxfinder"`
	PersonalEmail       string           `json:"personal_email"`
	Superoirs           Superoirs        `json:"superoirs"`
	BizMail             string           `json:"biz_mail"`
	ID                  string           `json:"id"`
	Uin                 string           `json:"uin"`
	Username            string           `json:"username"`
	Imgid               string           `json:"imgid"`
	PartyList           []string         `json:"party_list"`
	JoinStatus          string           `json:"JoinStatus"`
	Tag                 Tag              `json:"tag"`
	Extattr             Extattr          `json:"extattr"`
}

type CorpApplicationRes

type CorpApplicationRes struct {
	Data CorpApplicationResData `json:"data"`
}

type CorpApplicationResData

type CorpApplicationResData struct {
	OpenapiApp []OpenapiApp `json:"openapi_app"`
}

type CorpEncryptDataAppInfoBillInfo

type CorpEncryptDataAppInfoBillInfo struct {
	InfoList []CorpEncryptDataAppInfoInfoList `json:"info_list"`
}

type CorpEncryptDataAppInfoData

type CorpEncryptDataAppInfoData struct {
	BillInfo CorpEncryptDataAppInfoBillInfo `json:"billInfo"`
}

type CorpEncryptDataAppInfoInfoList

type CorpEncryptDataAppInfoInfoList struct {
	Type            int    `json:"type"`
	Licensecnt      string `json:"licensecnt"` // 名额数量
	Begintime       string `json:"begintime"`
	Endtime         string `json:"endtime"`
	Corptypeflag    int    `json:"corptypeflag"`
	Usecnt          string `json:"usecnt"` // 已使用数量
	ShrinkLicCnt    int    `json:"shrink_lic_cnt"`
	ShrinkBegintime int    `json:"shrink_begintime"`
	Name            string `json:"name"`
}

type CorpEncryptDataAppInfoRes

type CorpEncryptDataAppInfoRes struct {
	Data CorpEncryptDataAppInfoData `json:"data"`
}

type Data

type Data struct {
	Cacheversion Cacheversion `json:"cacheversion"`
	PartyList    PartyList    `json:"party_list"`
}

type DepartmentBatchData

type DepartmentBatchData struct {
}

type DepartmentBatchOption

type DepartmentBatchOption struct {
	Members     string `json:"members"`
	Partyids    string `json:"partyids"`
	MainpartyId string `json:"mainparty_id"`
	ModPartyids string `json:"mod_partyids"`
	ModTagids   string `json:"mod_tagids"`
}

type DepartmentBatchRes

type DepartmentBatchRes struct {
	StatusCode int                 `json:"statusCode"`
	Result     Result              `json:"result"`
	Data       DepartmentBatchData `json:"data"`
}

type DeptCacheRes

type DeptCacheRes struct {
	Data Data `json:"data"`
}

deptCacheUrl 返回信息

type DeptStaffData

type DeptStaffData struct {
	ContactList         ContactList `json:"contact_list"`
	NextPageContactList ContactList `json:"next_page_contact_list"`
	MemberCount         int         `json:"member_count"`
	DisableCnt          int         `json:"disable_cnt"`
	PageCount           int         `json:"page_count"`
	Status              string      `json:"status"`
}

type DeptStaffDataRes

type DeptStaffDataRes struct {
	Data DeptStaffData `json:"data"`
}

type DispOrder

type DispOrder struct {
	DepartID   string        `json:"depart_id"`
	DispOrder  int           `json:"disp_order"`
	LeaderRank int           `json:"leader_rank"`
	Pathids    []interface{} `json:"pathids"`
	PathNames  []interface{} `json:"path_names"`
}

type Error

type Error string

Error 错误

const (
	// SDKInitFailed 错误码:50001
	SDKInitFailed Error = "SDK初始化失败"
	// SDKCacheUnavailable 错误码:50002
	SDKCacheUnavailable Error = "缓存无效"
	// SDKUnknownError 错误码:50003
	SDKUnknownError Error = "未知错误"
	// SDKInvalidCredential 错误码:40001
	SDKInvalidCredential Error = "不合法的secret参数"
	// SDKInvalidCorpID 错误码:40013
	SDKInvalidCorpID Error = "无效的 CorpID"
	// SDKAccessTokenInvalid 错误码:40014
	SDKAccessTokenInvalid Error = "AccessToken 无效"
	// SDKValidateSignatureFailed 错误码:40015
	SDKValidateSignatureFailed Error = "校验签名错误"
	// SDKDecryptMSGFailed 错误码:40016
	SDKDecryptMSGFailed Error = "消息解密失败"
	// SDKAccessTokenMissing 错误码:41001
	SDKAccessTokenMissing Error = "缺少AccessToken参数"
	// SDKAccessTokenExpired 错误码:42001
	SDKAccessTokenExpired Error = "AccessToken 已过期"
	// SDKApiFreqOutOfLimit 错误码:45009
	SDKApiFreqOutOfLimit Error = "接口请求次数超频"
	// SDKApiForbidden 错误码:48002
	SDKApiForbidden Error = "API 禁止调用"
	// SDKInvalidOpenKFID 错误码:95000
	SDKInvalidOpenKFID Error = "无效的 open_kfid"
	// SDKOpenKFIDNotExist 错误码:95004
	SDKOpenKFIDNotExist Error = "open_kfid 不存在"
	// SDKWeWorkAlready 错误码:95011
	SDKWeWorkAlready Error = "已在企业微信使用微信客服"
	// SDKNotUseInWeCom 错误码:95012
	SDKNotUseInWeCom Error = "未在企业微信使用微信客服"
	// SDKApiNotOpen 错误码:95017
	SDKApiNotOpen Error = "API 功能没有被开启"
)

func NewSDKErr

func NewSDKErr(code int64, msgList ...string) Error

NewSDKErr 初始化SDK实例错误信息

func (Error) Error

func (r Error) Error() string

Error 输出错误信息

type Extattr

type Extattr struct {
	Attrlist []interface{} `json:"attrlist"`
}

type ExternalWxfinder

type ExternalWxfinder struct {
}

type Extra

type Extra struct {
	Remark string `json:"remark"`
}

type GetAppAdminInfoData

type GetAppAdminInfoData struct {
	Info []GetAppAdminInfoInfo `json:"info"`
}

type GetAppAdminInfoInfo

type GetAppAdminInfoInfo struct {
	Vid      string               `json:"vid"`
	Flags    int                  `json:"flags"`
	RoleType int                  `json:"role_type"`
	Model    GetAppAdminInfoModel `json:"model,omitempty"`
}

type GetAppAdminInfoModel

type GetAppAdminInfoModel struct {
	CorpID string `json:"corp_id"`
	Vid    string `json:"vid"`
	Name   string `json:"name"`
	Acctid string `json:"acctid"`
	ID     string `json:"id"`
}

type GetAppAdminInfoRes

type GetAppAdminInfoRes struct {
	Data GetAppAdminInfoData `json:"data"`
}

type GetApplyInfo

type GetApplyInfo struct {
	Status     string `json:"status"`
	CreateTime int    `json:"create_time"`
	ApplyTime  int    `json:"apply_time"`
	Vid        string `json:"vid"`
	Name       string `json:"name"`
	Mobile     string `json:"mobile"`
	HosterVid  string `json:"hoster_vid"`
	Extra      Extra  `json:"extra"`
}

type GetApplyInfoData

type GetApplyInfoData struct {
	Application []GetApplyInfo `json:"application"`
	Total       string         `json:"total"`
}

type GetApplyInfoResp

type GetApplyInfoResp struct {
	Data GetApplyInfoData `json:"data"`
}

type GetRoleListAdminList

type GetRoleListAdminList struct {
	Item []GetRoleListItemChild `json:"item"`
}

type GetRoleListData

type GetRoleListData struct {
	RoleList GetRoleListRoleList `json:"role_list"`
}

type GetRoleListItem

type GetRoleListItem struct {
	RoleID    int                  `json:"role_id"`
	RoleName  string               `json:"role_name"`
	CorpID    string               `json:"corp_id"`
	AdminList GetRoleListAdminList `json:"admin_list"`
	RoleType  string               `json:"role_type"`
}

type GetRoleListItemChild

type GetRoleListItemChild struct {
	ID         string `json:"id"`
	Flags      int    `json:"flags"`
	Name       string `json:"name"`
	CreateTime int    `json:"create_time"`
}

type GetRoleListRes

type GetRoleListRes struct {
	Data GetRoleListData `json:"data"`
}

type GetRoleListRoleList

type GetRoleListRoleList struct {
	Item []GetRoleListItem `json:"item"`
}

type GetSingleMemberData

type GetSingleMemberData struct {
	CorpID              string                            `json:"corp_id"`
	Vid                 string                            `json:"vid"`
	Name                string                            `json:"name"`
	Mobile              string                            `json:"mobile"`
	Email               string                            `json:"email"`
	Gender              int                               `json:"gender"`
	Position            string                            `json:"position"`
	Wechat              string                            `json:"wechat"`
	Avatar              string                            `json:"avatar"`
	Account             string                            `json:"account"`
	ExtTel              string                            `json:"ext_tel"`
	DisableStat         int                               `json:"disable_stat"`
	IdentityStat        int                               `json:"identity_stat"`
	DeleteStat          int                               `json:"delete_stat"`
	ManageStat          int                               `json:"manage_stat"`
	JoinStat            int                               `json:"join_stat"`
	BindStat            int                               `json:"bind_stat"`
	EnglishName         string                            `json:"english_name"`
	LoginStat           int                               `json:"login_stat"`
	Alias               string                            `json:"alias"`
	ActiveBiz           bool                              `json:"active_biz"`
	Domainid            int                               `json:"domainid"`
	Gid                 string                            `json:"gid"`
	Pinyin              string                            `json:"pinyin"`
	MainpartyID         string                            `json:"mainparty_id"`
	DisableBiz          bool                              `json:"disable_biz"`
	VidBindGid          bool                              `json:"vid_bind_gid"`
	CountryCode         string                            `json:"country_code"`
	WxIDHash            string                            `json:"wx_id_hash"`
	DepartNames         []interface{}                     `json:"depart_names"`
	HideMobile          bool                              `json:"hide_mobile"`
	DispOrder           []GetSingleMemberDispOrder        `json:"disp_order"`
	Acctid              string                            `json:"acctid"`
	Attrs               []interface{}                     `json:"attrs"`
	IsQuit              bool                              `json:"is_quit"`
	IsWwBizmailVip      bool                              `json:"is_ww_bizmail_vip"`
	IsWwBizmail         bool                              `json:"is_ww_bizmail"`
	IsJoinQyh           bool                              `json:"is_join_qyh"`
	AcctidStat          int                               `json:"acctid_stat"`
	PstnExtensionNumber string                            `json:"pstn_extension_number"`
	ExternJobTitle      string                            `json:"extern_job_title"`
	WxNickName          string                            `json:"wx_nick_name"`
	ExternalAttrs       []SaveMemberExternalAttr          `json:"external_attrs"`
	Realname            string                            `json:"realname"`
	UserQuitTime        int                               `json:"user_quit_time"`
	IsReadyJoinAgain    bool                              `json:"is_ready_join_again"`
	XcxCorpAddress      string                            `json:"xcx_corp_address"`
	ExternPositionInfo  GetSingleMemberExternPositionInfo `json:"extern_position_info"`
	ExternalCorpInfo    string                            `json:"external_corp_info"`
	ExternalWxfinder    GetSingleMemberExternalWxfinder   `json:"external_wxfinder"`
	PersonalEmail       string                            `json:"personal_email"`
	Superoirs           GetSingleMemberSuperoirs          `json:"superoirs"`
	BizMail             string                            `json:"biz_mail"`
	SuperoirList        []interface{}                     `json:"superoirList"`
	Uin                 string                            `json:"uin"`
	Username            string                            `json:"username"`
	Nickname            string                            `json:"nickname"`
	Imgid               string                            `json:"imgid"`
	PartyList           []string                          `json:"party_list"`
	JoinStatus          string                            `json:"JoinStatus"`
	Domain              string                            `json:"domain"`
	Tag                 GetSingleMemberTag                `json:"tag"`
	Extattr             GetSingleMemberExtattr            `json:"extattr"`
	GenderStr           string                            `json:"gender_str"`
}

type GetSingleMemberDispOrder

type GetSingleMemberDispOrder struct {
	DepartID   string        `json:"depart_id"`
	DispOrder  int           `json:"disp_order"`
	IsTop      bool          `json:"is_top"`
	LeaderRank int           `json:"leader_rank"`
	Pathids    []interface{} `json:"pathids"`
	PathNames  []interface{} `json:"path_names"`
}

type GetSingleMemberExtattr

type GetSingleMemberExtattr struct {
	Attrlist []interface{} `json:"attrlist"`
}

type GetSingleMemberExternPositionInfo

type GetSingleMemberExternPositionInfo struct {
	BSynInnerPosition bool   `json:"b_syn_inner_position"`
	ExternPosition    string `json:"extern_position"`
}

type GetSingleMemberExternalWxfinder

type GetSingleMemberExternalWxfinder struct {
}

type GetSingleMemberRes

type GetSingleMemberRes struct {
	Data GetSingleMemberData `json:"data"`
}

type GetSingleMemberSuperoirs

type GetSingleMemberSuperoirs struct {
	Vids []interface{} `json:"vids"`
}

type GetSingleMemberTag

type GetSingleMemberTag struct {
	List []interface{} `json:"list"`
}

type LanguageList

type LanguageList struct {
	Info []interface{} `json:"info"`
}

type List

type List struct {
	Partyid        string       `json:"partyid"`
	OpenapiPartyid string       `json:"openapi_partyid"`
	Name           string       `json:"name"`
	Parentid       interface{}  `json:"parentid"`
	Authority      int          `json:"authority"`
	Islocked       bool         `json:"islocked"`
	DisplayOrder   int          `json:"display_order"`
	LanguageList   LanguageList `json:"language_list"`
	Pinyin         string       `json:"pinyin"`
	Py             string       `json:"py"`
}

type OpenapiApp

type OpenapiApp struct {
	CorpID    string `json:"corp_id"`
	AppID     string `json:"app_id"`
	AppOpenID int    `json:"app_open_id"`
	Name      string `json:"name"`
	AppOpen   int    `json:"app_open"`
}

type PartyList

type PartyList struct {
	List []List `json:"list"`
}

type Result

type Result struct {
	ErrCode      int    `json:"errCode"`
	HumanMessage string `json:"humanMessage"`
}

type SaveIpWhiteListRes

type SaveIpWhiteListRes struct {
	Data SaveIpWhiteListResData `json:"data"`
}

type SaveIpWhiteListResData

type SaveIpWhiteListResData struct {
	RejectSubadminIds []interface{} `json:"reject_subadmin_ids"`
}

type SaveMemberData

type SaveMemberData struct {
	CorpID string `json:"corp_id"`
	Acctid string `json:"acctid"`
	Name   string `json:"name"`
}

type SaveMemberDispOrder

type SaveMemberDispOrder struct {
	DepartID   string `json:"depart_id"`
	DispOrder  string `json:"disp_order"`
	IsTop      string `json:"is_top"`
	LeaderRank string `json:"leader_rank"`
}

type SaveMemberExternalAttr

type SaveMemberExternalAttr struct {
	FieldValue string `json:"field_value"`
	FieldId    string `json:"field_id"`
	FieldName  string `json:"field_name"`
	FieldType  string `json:"field_type"`
}

type SaveMemberRes

type SaveMemberRes struct {
	Data SaveMemberData `json:"data"`
}

type SaveMemberSchema

type SaveMemberSchema struct {
	JoinStatus                          string                   `json:"JoinStatus"`
	Account                             string                   `json:"account"`
	Acctid                              string                   `json:"acctid"`
	AcctidStat                          string                   `json:"acctid_stat"`
	ActiveBiz                           string                   `json:"active_biz"`
	Alias                               string                   `json:"alias"`
	Avatar                              string                   `json:"avatar"`
	BIsQymailGray                       string                   `json:"b_is_qymail_gray"`
	BindStat                            string                   `json:"bind_stat"`
	BizMail                             string                   `json:"biz_mail"`
	CountryCode                         string                   `json:"country_code"`
	DeleteStat                          string                   `json:"delete_stat"`
	DisableBiz                          string                   `json:"disable_biz"`
	DisableStat                         string                   `json:"disable_stat"`
	DispOrder                           []SaveMemberDispOrder    `json:"disp_order"`
	Domain                              string                   `json:"domain"`
	Domainid                            string                   `json:"domainid"`
	Email                               string                   `json:"email"`
	EnglishName                         string                   `json:"english_name"`
	ExtTel                              string                   `json:"ext_tel"`
	ExternJobTitle                      string                   `json:"extern_job_title"`
	ExternPosition                      string                   `json:"extern_position"`
	ExternPositionInfoBSynInnerPosition string                   `json:"extern_position_info[b_syn_inner_position]"`
	ExternPositionInfoExternPosition    string                   `json:"extern_position_info[extern_position]"`
	ExternalAttrs                       []SaveMemberExternalAttr `json:"external_attrs"`
	ExternalCorpInfo                    string                   `json:"external_corp_info"`
	ExternalWxfinder                    string                   `json:"external_wxfinder[invisible]"`
	Gender                              string                   `json:"gender"`
	GenderStr                           string                   `json:"gender_str"`
	HideMobile                          string                   `json:"hide_mobile"`
	IdentityStat                        string                   `json:"identity_stat"`
	IgnoreAbnormalMobile                string                   `json:"ignore_abnormal_mobile"`
	Imgid                               string                   `json:"imgid"`
	IsSearchListShow                    string                   `json:"isSearchListShow"`
	IsJoinQyh                           string                   `json:"is_join_qyh"`
	IsQuit                              string                   `json:"is_quit"`
	IsReadyJoinAgain                    string                   `json:"is_ready_join_again"`
	IsWwBizmail                         string                   `json:"is_ww_bizmail"`
	IsWwBizmailVip                      string                   `json:"is_ww_bizmail_vip"`
	JoinStat                            string                   `json:"join_stat"`
	LoginStat                           string                   `json:"login_stat"`
	MainpartyID                         string                   `json:"mainparty_id"`
	ManageStat                          string                   `json:"manage_stat"`
	Mobile                              string                   `json:"mobile"`
	ModelType                           string                   `json:"model_type"`
	Name                                string                   `json:"name"`
	Nickname                            string                   `json:"nickname"`
	PartyList                           []string                 `json:"party_list"`
	Partyid                             string                   `json:"partyid"`
	PersonalEmail                       string                   `json:"personal_email"`
	Pinyin                              string                   `json:"pinyin"`
	Position                            string                   `json:"position"`
	PstnExtensionNumber                 string                   `json:"pstn_extension_number"`
	Realname                            string                   `json:"realname"`
	Uin                                 string                   `json:"uin"`
	UserQuitTime                        string                   `json:"user_quit_time"`
	Username                            string                   `json:"username"`
	Vid                                 string                   `json:"vid"`
	VidBindGid                          string                   `json:"vid_bind_gid"`
	Wechat                              string                   `json:"wechat"`
	WxIDHash                            string                   `json:"wx_id_hash"`
	WxNickName                          string                   `json:"wx_nick_name"`
	XcxCorpAddress                      string                   `json:"xcx_corp_address"`
}

type SaveOpenApiAppRes

type SaveOpenApiAppRes struct {
	Data SaveOpenApiAppResData `json:"data"`
}

type SaveOpenApiAppResData

type SaveOpenApiAppResData struct {
	RejectSubadminIds []interface{} `json:"reject_subadmin_ids"`
}

type SdDispOrder

type SdDispOrder struct {
	DepartID  string        `json:"depart_id"`
	DispOrder int           `json:"disp_order"`
	Pathids   []interface{} `json:"pathids"`
	PathNames []interface{} `json:"path_names"`
}

type SdSuperoirs

type SdSuperoirs struct {
	Vids []interface{} `json:"vids"`
}

type SearchStaffData

type SearchStaffData struct {
	CorpID           string        `json:"corp_id"`
	Vid              string        `json:"vid"`
	Name             string        `json:"name"`
	Mobile           string        `json:"mobile"`
	Gender           int           `json:"gender"`
	DepartIds        []string      `json:"depart_ids"`
	Position         string        `json:"position,omitempty"`
	Avatar           string        `json:"avatar"`
	Account          string        `json:"account,omitempty"`
	ExtTel           string        `json:"ext_tel,omitempty"`
	DisableStat      int           `json:"disable_stat"`
	IdentityStat     int           `json:"identity_stat"`
	DeleteStat       int           `json:"delete_stat"`
	ManageStat       int           `json:"manage_stat"`
	JoinStat         int           `json:"join_stat"`
	BindStat         int           `json:"bind_stat"`
	EnglishName      string        `json:"english_name,omitempty"`
	LoginStat        int           `json:"login_stat"`
	Alias            string        `json:"alias,omitempty"`
	ActiveBiz        bool          `json:"active_biz"`
	WxqyUserid       string        `json:"wxqy_userid,omitempty"`
	Gid              interface{}   `json:"gid"`
	Pinyin           string        `json:"pinyin,omitempty"`
	MainpartyID      string        `json:"mainparty_id"`
	OldUin           int           `json:"old_uin,omitempty"`
	DisableBiz       bool          `json:"disable_biz"`
	CountryCode      string        `json:"country_code"`
	WxIDHash         string        `json:"wx_id_hash"`
	DepartNames      []string      `json:"depart_names"`
	HideMobile       bool          `json:"hide_mobile"`
	DispOrder        []SdDispOrder `json:"disp_order"`
	Acctid           string        `json:"acctid"`
	Attrs            []interface{} `json:"attrs"`
	IsQuit           bool          `json:"is_quit"`
	IsWwBizmailVip   bool          `json:"is_ww_bizmail_vip"`
	IsWwBizmail      bool          `json:"is_ww_bizmail"`
	IsJoinQyh        bool          `json:"is_join_qyh"`
	AcctidStat       int           `json:"acctid_stat"`
	ExternalAttrs    []interface{} `json:"external_attrs"`
	UserQuitTime     int           `json:"user_quit_time"`
	IsReadyJoinAgain bool          `json:"is_ready_join_again"`
	IsRealname       bool          `json:"is_realname"`
	Superoirs        SdSuperoirs   `json:"superoirs"`
	BizMail          string        `json:"biz_mail"`
}

type SearchStaffRes

type SearchStaffRes struct {
	Data []SearchStaffData `json:"data"`
}

type Superoirs

type Superoirs struct {
	Vids []interface{} `json:"vids"`
}

type Tag

type Tag struct {
	List []interface{} `json:"list"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL