| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- package sync
- type BaseReply struct {
- Code string `json:"code"`
- Msg string `json:"msg" `
- Result string `json:"result"`
- }
- type SyncAccountArgs struct {
- ClientId string `json:"client_id" sign:"client_id"`
- ClientSecret string `json:"client_secret" sign:"client_secret"`
- NonceStr string `json:"nonce_str" sign:"nonce_str"`
- Timestamp int64 `json:"timestamp" sign:"timestamp"`
- Sign string `json:"sign"`
- }
- type SyncAccountReply struct {
- Code string `json:"code"`
- Msg string `json:"msg" `
- Result []AccountEntity `json:"result"`
- }
- type AccountEntity struct {
- AccountNo string `json:"accountNo"`
- AccountName string `json:"accountName"`
- RequestFlag string `json:"requestFlag"`
- RequestTime string `json:"requestTime"`
- SourceType string `json:"sourceType"`
- AppPwd string `json:"appPwd"`
- RequestLogId string `json:"requestLogId"`
- UserName string `json:"userName"`
- Uid string `json:"uid"`
- PrWorkNo string `json:"prWorkNo"`
- Status string `json:"status"`
- ParentUserNo string `json:"parentUserNo"`
- ParentUserNo1 string `json:"parentUserNo1"`
- WeChatId struct {
- FsUserId string `json:"fsUserId"`
- FsUnionId string `json:"fsUnionId"`
- } `json:"weChatId"`
- ExtAttr struct {
- Zwmc string `json:"zwmc"`
- Zwbm string `json:"zwbm"`
- Zwlbmc string `json:"zwlbmc"`
- Zjbm string `json:"zjbm"`
- Zjmc string `json:"zjmc"`
- Zdbm string `json:"zdbm"`
- Zdmc string `json:"zdmc"`
- } `json:"extAttr"`
- JobId string `json:"jobId"`
- JobCode string `json:"jobCode"`
- JobName string `json:"jobName"`
- OrgId string `json:"orgId"`
- OrgCode string `json:"orgCode"`
- CompanyId string `json:"companyId"`
- UserJobAttr []struct {
- PrName string `json:"prName"`
- PrCode string `json:"prCode"`
- Status string `json:"status"`
- SupPosCode string `json:"supPosCode"`
- OrgCode string `json:"orgCode"`
- OrgId string `json:"orgId"`
- PrLevel string `json:"prLevel"`
- } `json:"userJobAttr"`
- }
- type SyncAccountStatus struct {
- ClientId string `json:"client_id" sign:"client_id"`
- ClientSecret string `json:"client_secret" sign:"client_secret"`
- NonceStr string `json:"nonce_str" sign:"nonce_str"`
- Timestamp int64 `json:"timestamp" sign:"timestamp"`
- Sign string `json:"sign"`
- RequestlogStr string `json:"requestlog_str"`
- }
- type SyncOrganizeArgs struct {
- ClientId string `json:"client_id" sign:"client_id"`
- ClientSecret string `json:"client_secret" sign:"client_secret"`
- NonceStr string `json:"nonce_str" sign:"nonce_str"`
- Timestamp int64 `json:"timestamp" sign:"timestamp"`
- Sign string `json:"sign"`
- UpdateTime string `json:"updateTime"`
- PageSize string `json:"pageSize"`
- PageIndex string `json:"pageIndex"`
- }
- type SyncOrganizeReply struct {
- Code string `json:"code"`
- Msg string `json:"msg" `
- Result []OrganizeEntity `json:"result"`
- TotalSize string `json:"totalSize" `
- }
- type OrganizeEntity struct {
- CompanyId string `json:"companyId"`
- OrgId string `json:"orgId"`
- ParentId string `json:"parentId"`
- OrgCode string `json:"orgCode"`
- ParentCode string `json:"parentCode"`
- OrgName string `json:"orgName"`
- SourceType string `json:"sourceType"`
- UpdateStatus string `json:"updateStatus"`
- Order string `json:"order"`
- }
- type SyncPostArgs struct {
- ClientId string `json:"client_id" sign:"client_id"`
- ClientSecret string `json:"client_secret" sign:"client_secret"`
- NonceStr string `json:"nonce_str" sign:"nonce_str"`
- Timestamp int64 `json:"timestamp" sign:"timestamp"`
- Sign string `json:"sign"`
- UpdateTime string `json:"updateTime"`
- PageSize string `json:"pageSize"`
- PageIndex string `json:"pageIndex"`
- }
- type SyncPostReply struct {
- Code string `json:"code"`
- Msg string `json:"msg" `
- TotalSize string `json:"totalSize" `
- Result []PostEntity `json:"result"`
- }
- type PostEntity struct {
- JobId string `json:"jobId"`
- JobName string `json:"jobName"`
- JobCode string `json:"jobCode"`
- OrgId string `json:"orgId"`
- OrgCode string `json:"orgCode"`
- UpdateStatus string `json:"updateStatus"`
- }
|