1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273 |
- package types
- type BaseDataInfo struct {
-
- Code int `json:"code"`
-
- Msg string `json:"msg"`
-
- Data string `json:"data,omitempty"`
- }
- type BaseListInfo struct {
-
- Total uint64 `json:"total"`
-
- Data string `json:"data,omitempty"`
- }
- type BaseMsgResp struct {
-
- Code int `json:"code"`
-
- Msg string `json:"msg"`
- }
- type PageInfo struct {
-
-
-
- Page uint64 `json:"page" validate:"required,number,gt=0"`
-
-
-
- PageSize uint64 `json:"pageSize" validate:"required,number,lt=100000"`
- }
- type IDReq struct {
-
-
- Id uint64 `json:"id" validate:"number"`
- }
- type IDsReq struct {
-
-
- Ids []uint64 `json:"ids"`
- }
- type IDPathReq struct {
-
-
- Id uint64 `path:"id"`
- }
- type IDInt32Req struct {
-
-
- Id int32 `json:"id" validate:"number"`
- }
- type IDsInt32Req struct {
-
-
- Ids []int32 `json:"ids"`
- }
- type IDInt32PathReq struct {
-
-
- Id int32 `path:"id"`
- }
- type IDUint32Req struct {
-
-
- Id uint32 `json:"id" validate:"number"`
- }
- type IDsUint32Req struct {
-
-
- Ids []uint32 `json:"ids"`
- }
- type IDUint32PathReq struct {
-
-
- Id uint32 `path:"id"`
- }
- type IDInt64Req struct {
-
-
- Id int64 `json:"id" validate:"number"`
- }
- type IDsInt64Req struct {
-
-
- Ids []int64 `json:"ids"`
- }
- type IDInt64PathReq struct {
-
-
- Id int64 `path:"id"`
- }
- type UUIDPathReq struct {
-
-
- Id string `path:"id"`
- }
- type UUIDReq struct {
-
-
-
-
- Id string `json:"id" validate:"required,len=36"`
- }
- type UUIDsReq struct {
-
-
- Ids []string `json:"ids"`
- }
- type BaseIDInfo struct {
-
- Id *uint64 `json:"id,optional"`
-
- CreatedAt *int64 `json:"createdAt,optional"`
-
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- type BaseIDInt64Info struct {
-
- Id *int64 `json:"id,optional"`
-
- CreatedAt *int64 `json:"createdAt,optional"`
-
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- type BaseIDInt32Info struct {
-
- Id *int32 `json:"id,optional"`
-
- CreatedAt *int64 `json:"createdAt,optional"`
-
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- type BaseIDUint32Info struct {
-
- Id *uint32 `json:"id,optional"`
-
- CreatedAt *int64 `json:"createdAt,optional"`
-
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- type BaseUUIDInfo struct {
-
- Id *string `json:"id,optional"`
-
- CreatedAt *int64 `json:"createdAt,optional"`
-
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- type Condition struct {
- Equal int `json:"equal"`
- LabelIdList []uint64 `json:"labelIdList"`
- }
- type Action struct {
- Type int `json:"type"`
- Content string `json:"content"`
- Meta Meta `json:"meta,optional"`
- }
- type Meta struct {
- Filename string `json:"filename,optional"`
- }
- type ServerInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- Name *string `json:"name,optional"`
-
- PublicIp *string `json:"publicIp,optional"`
-
- PrivateIp *string `json:"privateIp,optional"`
-
- AdminPort *string `json:"adminPort,optional"`
- }
- type ServerListResp struct {
- BaseDataInfo
-
- Data ServerListInfo `json:"data"`
- }
- type ServerListInfo struct {
- BaseListInfo
-
- Data []ServerInfo `json:"data"`
- }
- type ServerListReq struct {
- PageInfo
-
- Name *string `json:"name,optional"`
-
- PublicIp *string `json:"publicIp,optional"`
-
- PrivateIp *string `json:"privateIp,optional"`
- }
- type ServerInfoResp struct {
- BaseDataInfo
-
- Data ServerInfo `json:"data"`
- }
- type WxInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- ServerId *uint64 `json:"serverId,optional"`
-
- Port *string `json:"port,optional"`
-
- ProcessId *string `json:"processId,optional"`
-
- Callback *string `json:"callback,optional"`
-
- Wxid *string `json:"wxid,optional"`
-
- Account *string `json:"account,optional"`
-
- Nickname *string `json:"nickname,optional"`
-
- Tel *string `json:"tel,optional"`
-
- HeadBig *string `json:"headBig,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
-
- AgentId *uint64 `json:"agentId"`
-
- AgentInfo *AgentInfo `json:"agentInfo,optional"`
- }
- type WxListResp struct {
- BaseDataInfo
-
- Data WxListInfo `json:"data"`
- }
- type WxListInfo struct {
- BaseListInfo
-
- Data []WxInfo `json:"data"`
- }
- type WxListReq struct {
- PageInfo
-
- Port *string `json:"port,optional"`
-
- ProcessId *string `json:"processId,optional"`
-
- Callback *string `json:"callback,optional"`
- }
- type WxInfoResp struct {
- BaseDataInfo
-
- Data WxInfo `json:"data"`
- }
- type AgentInfo struct {
- BaseIDInfo
-
- Name *string `json:"name,optional"`
-
- Role *string `json:"role,optional"`
-
- Status *int `json:"status,optional"`
-
- Background *string `json:"background,optional"`
-
- Examples *string `json:"examples,optional"`
- }
- type AgentListResp struct {
- BaseDataInfo
-
- Data AgentListInfo `json:"data"`
- }
- type AgentListInfo struct {
- BaseListInfo
-
- Data []AgentInfo `json:"data"`
- }
- type AgentListReq struct {
- PageInfo
-
- Name *string `json:"name,optional"`
-
- Role *string `json:"role,optional"`
-
- Background *string `json:"background,optional"`
-
- Status *int `json:"status,optional"`
- }
- type AgentInfoResp struct {
- BaseDataInfo
-
- Data AgentInfo `json:"data"`
- }
- type LoginQRStatus struct {
-
- QRCode string `json:"qRCode,optional"`
-
- Status string `json:"status,optional"`
-
- StatusDesc string `json:"statusDesc,optional"`
- }
- type RefreshLoginQRReq struct {
-
- ServerId *uint64 `json:"serverId,optional"`
-
- Port *string `json:"port,optional"`
-
- Callback *string `json:"callback,optional"`
- }
- type RefreshLoginQRResp struct {
- BaseDataInfo
-
- Data LoginQRStatus `json:"data,optional"`
- }
- type SendTextMsgReq struct {
-
- WxWxid *string `json:"senderWxId"`
-
- Wxid *string `json:"receiverWxId"`
-
- Msg *string `json:"msg"`
- }
- type SendPicMsgReq struct {
-
- WxWxid *string `json:"wxWxid"`
-
- Wxid *string `json:"wxid"`
-
- Picpath *string `json:"picpath"`
-
- Diyfilename *string `json:"diyfilename,optional"`
- }
- type SendPicMsgLocalReq struct {
-
- WxWxid *string `json:"wxWxid"`
-
- Wxid *string `json:"wxid"`
-
- Picpath *string `json:"picpath"`
- }
- type ContactListResp struct {
- BaseDataInfo
-
- Data ContactListInfo `json:"data"`
- }
- type ContactListInfo struct {
- BaseListInfo
-
- Data []ContactInfo `json:"data"`
- }
- type ContactListReq struct {
- PageInfo
-
- LabelIDs []uint64 `json:"labelIDs,optional"`
-
- WxWxid *string `json:"wxWxid,optional"`
-
- Wxid *string `json:"wxid,optional"`
-
- Account *string `json:"account,optional"`
-
- Type *int `json:"type,optional"`
- }
- type ContactInfoResp struct {
- BaseDataInfo
-
- Data ContactInfo `json:"data"`
- }
- type AddNewFriendReq struct {
- OwnerWxid string `json:"ownerWxid"`
- Wxid string `json:"wxid"`
- Gid string `json:"gid"`
- Desc string `json:"desc"`
- AddType string `json:"addType"`
- }
- type ContactLabelList struct {
-
- Label *string `json:"label,optional"`
-
- Value *uint64 `json:"value,optional"`
- }
- type ContactInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- WxWxid *string `json:"wxWxid,optional"`
-
- Type *int `json:"type,optional"`
-
- Wxid *string `json:"wxid,optional"`
-
- Account *string `json:"account,optional"`
-
- Nickname *string `json:"nickname,optional"`
-
- Markname *string `json:"markname,optional"`
-
- Headimg *string `json:"headimg,optional"`
-
- Sex *int `json:"sex,optional"`
-
- Starrole *string `json:"starrole,optional"`
-
- Dontseeit *int `json:"dontseeit,optional"`
-
- Dontseeme *int `json:"dontseeme,optional"`
-
- Lag *string `json:"lag,optional"`
-
- Gid *string `json:"gid,optional"`
-
- Gname *string `json:"gname,optional"`
-
- V3 *string `json:"v3,optional"`
-
- LabelRelationships []ContactLabelList `json:"labelRelationships,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
- type LabelInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- Type *int `json:"type,optional"`
-
- Name *string `json:"name,optional"`
-
- From *int `json:"from,optional"`
-
- Mode *int `json:"mode,optional"`
-
- Conditions *string `json:"conditions,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
-
- LabelRelationships []LabelRelationshipInfo `json:"labelRelationships,optional"`
- }
- type LabelRelationshipInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- LabelId *uint64 `json:"labelId,optional"`
-
- ContactId *uint64 `json:"contactId,optional"`
-
- Contact ContactInfo `json:"contact,optional"`
-
- Label LabelInfo `json:"label,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
- type LabelRelationshipsInfo struct {
- BaseIDInfo
-
- UpdateType *string `json:"updateType,optional"`
-
- LabelIds []uint64 `json:"labelIds,optional"`
-
- ContactId *uint64 `json:"contactId,optional"`
- }
- type LabelRelationshipListResp struct {
- BaseDataInfo
-
- Data LabelRelationshipListInfo `json:"data"`
- }
- type LabelRelationshipListInfo struct {
- BaseListInfo
-
- Data []LabelRelationshipInfo `json:"data"`
- }
- type LabelRelationshipListReq struct {
- PageInfo
- }
- type LabelRelationshipInfoResp struct {
- BaseDataInfo
-
- Data LabelRelationshipInfo `json:"data"`
- }
- type MessageInfo struct {
- BaseIDInfo
-
- WxWxid *string `json:"wxWxid"`
-
- Wxid *string `json:"wxid"`
-
- Msg *string `json:"msg"`
- }
- type MessageListResp struct {
- BaseDataInfo
-
- Data MessageListInfo `json:"data"`
- }
- type MessageListInfo struct {
- BaseListInfo
-
- Data []MessageInfo `json:"data"`
- }
- type MessageListReq struct {
- PageInfo
-
- WxWxid *string `json:"wxWxid,optional"`
-
- Wxid *string `json:"wxid,optional"`
- }
- type MessageInfoResp struct {
- BaseDataInfo
-
- Data MessageInfo `json:"data"`
- }
- type LabelSelectListResp struct {
- BaseDataInfo
-
- Data []LabelSelectListInfo `json:"data"`
- }
- type LabelListResp struct {
- BaseDataInfo
-
- Data LabelListInfo `json:"data"`
- }
- type LabelListInfo struct {
- BaseListInfo
-
- Data []LabelInfo `json:"data"`
- }
- type LabelListReq struct {
- PageInfo
-
- LabelIDs []uint64 `json:"labelIDs,optional"`
-
- Type *int `json:"type,optional"`
-
- Name *string `json:"name,optional"`
-
- From *int `json:"from,optional"`
-
- Mode *int `json:"mode,optional"`
- }
- type LabelInfoResp struct {
- BaseDataInfo
-
- Data LabelInfo `json:"data"`
- }
- type LabelSelectListInfo struct {
-
- Label *string `json:"label,optional"`
-
- Value *uint64 `json:"value,optional"`
- }
- type SopTaskListResp struct {
- BaseDataInfo
-
- Data SopTaskListInfo `json:"data"`
- }
- type SopTaskRecordListResp struct {
- BaseDataInfo
-
- Data []SopTaskRecordInfo `json:"data"`
- }
- type SopTaskRecordInfo struct {
-
- SourceType *int `json:"sourceType,optional"`
-
- SourceId *uint64 `json:"sourceId,optional"`
-
- Name *string `json:"name,optional"`
-
- TotalCount *int64 `json:"totalCount,optional"`
-
- SuccessCount *int64 `json:"successCount,optional"`
-
- FailureCount *int64 `json:"failureCount,optional"`
-
- SuccessRate *int64 `json:"successRate,optional"`
- }
- type SopTaskListInfo struct {
- BaseListInfo
-
- Data []SopTaskInfo `json:"data"`
- }
- type SopTaskListReq struct {
- PageInfo
-
- Name *string `json:"name,optional"`
-
- CreatorId *string `json:"creatorId,optional"`
- }
- type SopTaskInfoResp struct {
- BaseDataInfo
-
- Data SopTaskInfo `json:"data"`
- }
- type SopTaskCreateResp struct {
- BaseDataInfo
-
- Data uint64 `json:"data"`
- }
- type SopStageInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- TaskId *uint64 `json:"taskId,optional"`
-
- Name *string `json:"name,optional"`
-
- ConditionType *int `json:"conditionType,optional"`
-
- ConditionOperator *int `json:"conditionOperator,optional"`
-
- ConditionList []Condition `json:"conditionList,optional"`
-
- ActionMessage []Action `json:"actionMessage,optional"`
-
- ActionLabel []uint64 `json:"actionLabel,optional"`
-
- IndexSort *int `json:"indexSort,optional"`
-
- TaskInfo *SopTaskInfo `json:"taskInfo,optional"`
-
- NodeList []SopNodeInfo `json:"nodeList,optional"`
- }
- type SopTaskInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- Name *string `json:"name,optional"`
-
- BotWxidList []string `json:"botWxidList,optional"`
-
- Type *int `json:"type,optional"`
-
- PlanStartTime *int64 `json:"planStartTime,optional"`
-
- PlanEndTime *int64 `json:"planEndTime,optional"`
-
- CreatorId *string `json:"creatorId,optional"`
-
- StageList []SopStageInfo `json:"stageList,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
- type SopNodeInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- StageId *uint64 `json:"stageId,optional"`
-
- ParentId *uint64 `json:"parentId,optional"`
-
- Name *string `json:"name,optional"`
-
- ConditionType *int `json:"conditionType,optional"`
-
- ConditionList []string `json:"conditionList,optional"`
-
- NoReplyCondition *uint64 `json:"noReplyCondition,optional"`
-
- ActionMessage []Action `json:"actionMessage,optional"`
-
- ActionLabel []uint64 `json:"actionLabel,optional"`
-
- StageInfo *SopStageInfo `json:"stageInfo,optional"`
- }
- type SopStageListResp struct {
- BaseDataInfo
-
- Data SopStageListInfo `json:"data"`
- }
- type SopStageListInfo struct {
- BaseListInfo
-
- Data []SopStageInfo `json:"data"`
- }
- type SopStageListReq struct {
- TaskId *uint64 `json:"taskId"`
- }
- type SopStageInfoResp struct {
- BaseDataInfo
-
- Data SopStageInfo `json:"data"`
- }
- type SopStageCreateResp struct {
- BaseDataInfo
-
- Data uint64 `json:"data"`
- }
- type SopStageMoveReq struct {
- BaseIDInfo
-
- Offset *int `json:"offset,optional"`
- }
- type SopNodeListResp struct {
- BaseDataInfo
-
- Data []*SopChildNodeInfo `json:"data"`
- }
- type SopChildNodeInfo struct {
- NodeName *string `json:"nodeName,optional"`
- ChildNode *SopChildNodeInfo `json:"childNode,optional"`
-
- ConditionNodes []*SopChildNodeInfo `json:"conditionNodes"`
- SopNodeInfo
- }
- type SopNodeListInfo struct {
- BaseListInfo
-
- Data []SopNodeInfo `json:"data"`
- }
- type SopNodeListReq struct {
- StageId *uint64 `json:"stageId"`
- }
- type SopNodeInfoResp struct {
- BaseDataInfo
-
- Data SopNodeInfo `json:"data"`
- }
- type SopNodeCreateResp struct {
- BaseDataInfo
-
- Data uint64 `json:"data"`
- }
- type MessageRecordsInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- BotWxid *string `json:"botWxid,optional"`
-
- ContactId *uint64 `json:"contactId,optional"`
-
- ContactType *int `json:"contactType,optional"`
-
- ContactWxid *string `json:"contactWxid,optional"`
-
- ContentType *int `json:"contentType,optional"`
-
- Content *string `json:"content,optional"`
-
- Meta *Meta `json:"meta,optional"`
-
- ErrorDetail *string `json:"errorDetail,optional"`
-
- SendTime *int64 `json:"sendTime,optional"`
-
- SourceType *int `json:"sourceType,optional"`
-
- SourceId *uint64 `json:"sourceId,optional"`
-
- SubSourceId *uint64 `json:"subSourceId,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
- type MessageRecordsListResp struct {
- BaseDataInfo
-
- Data MessageRecordsListInfo `json:"data"`
- }
- type MessageRecordsListInfo struct {
- BaseListInfo
-
- Data []MessageRecordsInfo `json:"data"`
- }
- type MessageRecordsListReq struct {
- PageInfo
-
- BotWxid *string `json:"botWxid,optional"`
-
- ContactWxid *string `json:"contactWxid,optional"`
-
- Content *string `json:"content,optional"`
-
- SourceType *int `json:"sourceType,optional"`
-
- SourceId *uint64 `json:"sourceId,optional"`
- }
- type MessageRecordsInfoResp struct {
- BaseDataInfo
-
- Data MessageRecordsInfo `json:"data"`
- }
- type ChatroomMemberInfo struct {
-
- Wxid *string `json:"wxid,optional"`
-
- ChatRoom *string `json:"chatRoom,optional"`
-
- OwnerWxid *string `json:"ownerWxid,optional"`
-
- Account *string `json:"account,optional"`
- }
- type ChatroomMemberListResp struct {
- BaseDataInfo
-
- Data ChatroomMemberListInfo `json:"data"`
- }
- type ChatroomMemberListInfo struct {
- BaseListInfo
-
- Data []ChatroomMemberInfo `json:"data"`
- }
- type ChatroomMemberListReq struct {
- PageInfo
-
- OwnerWxid *string `json:"ownerWxid,optional"`
-
- ChatRoom *string `json:"chatRoom,optional"`
- }
- type ChatroomMemberInfoResp struct {
- BaseDataInfo
-
- Data ChatroomMemberInfo `json:"data"`
- }
- type UserInfo struct {
- BaseUUIDInfo
-
-
- Status *uint32 `json:"status,optional" validate:"omitempty,lt=20"`
-
-
- Username *string `json:"username,optional" validate:"omitempty,max=50"`
-
-
- Nickname *string `json:"nickname,optional" validate:"omitempty,max=40"`
-
-
- Password *string `json:"password,optional" validate:"omitempty,min=6"`
-
-
- Description *string `json:"description,optional" validate:"omitempty,max=100"`
-
-
- HomePath *string `json:"homePath,optional" validate:"omitempty,max=70"`
-
- RoleIds []uint64 `json:"roleIds,optional"`
-
-
- Mobile *string `json:"mobile,optional" validate:"omitempty,max=18"`
-
-
- Email *string `json:"email,optional" validate:"omitempty,max=80"`
-
-
- Avatar *string `json:"avatar,optional" validate:"omitempty,max=300"`
-
- DepartmentId *uint64 `json:"departmentId,optional,omitempty"`
-
- PositionIds []uint64 `json:"positionId,optional,omitempty"`
- }
- type UserInfoResp struct {
- BaseDataInfo
-
- Data UserInfo `json:"data"`
- }
- type UserBaseIDInfoResp struct {
- BaseDataInfo
-
- Data UserBaseIDInfo `json:"data"`
- }
- type UserBaseIDInfo struct {
-
- UUID *string `json:"userId"`
-
- Username *string `json:"username"`
-
- Nickname *string `json:"nickname"`
-
- Avatar *string `json:"avatar"`
-
- HomePath *string `json:"homePath"`
-
- Description *string `json:"desc"`
-
- RoleName []string `json:"roleName"`
-
- DepartmentName string `json:"departmentName,optional"`
-
- DepartmentRemark string `json:"departmentRemark,optional"`
- }
- type WxidReq struct {
- Wxid string `json:"wxid"`
- }
- type BatchMsgInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- BatchNo *string `json:"batchNo,optional"`
-
- TaskName *string `json:"taskName,optional"`
-
- Fromwxid *string `json:"fromwxid,optional"`
-
- Msg *string `json:"msg,optional"`
-
- Tag *string `json:"tag,optional"`
-
- Total *int32 `json:"total,optional"`
-
- Success *int32 `json:"success,optional"`
-
- Fail *int32 `json:"fail,optional"`
-
- StartTime *int64 `json:"startTime,optional"`
- StartTimeStr *string `json:"startTimeStr,optional"`
-
- StopTime *int64 `json:"stopTime,optional"`
-
- SendTime *int64 `json:"sendTime,optional"`
- SendTimeStr *string `json:"sendTimeStr,optional"`
-
- Labels []string `json:"labels,optional"`
- }
- type BatchMsgListResp struct {
- BaseDataInfo
-
- Data BatchMsgListInfo `json:"data"`
- }
- type BatchMsgListInfo struct {
- BaseListInfo
-
- Data []BatchMsgInfo `json:"data"`
- }
- type BatchMsgListReq struct {
- PageInfo
-
- BatchNo *string `json:"batchNo,optional"`
-
- Fromwxid *string `json:"fromwxid,optional"`
-
- Msg *string `json:"msg,optional"`
-
- TaskName *string `json:"taskName,optional"`
- }
- type BatchMsgInfoResp struct {
- BaseDataInfo
-
- Data BatchMsgInfo `json:"data"`
- }
|