|
@@ -420,7 +420,7 @@ type MiniUserLoginResponse struct { |
|
@@ -420,7 +420,7 @@ type MiniUserLoginResponse struct { |
|
420
|
}
|
420
|
}
|
|
421
|
|
421
|
|
|
422
|
type MiniUserSwitchAccountRequest struct {
|
422
|
type MiniUserSwitchAccountRequest struct {
|
|
423
|
- CompanyId int64 `json:"companyId"`
|
423
|
+ CompanyId int64 `json:"companyId,string"`
|
|
424
|
}
|
424
|
}
|
|
425
|
|
425
|
|
|
426
|
type MiniUserInfoRequest struct {
|
426
|
type MiniUserInfoRequest struct {
|
|
@@ -495,31 +495,31 @@ type MiniUserFollowingMarkReadRequest struct { |
|
@@ -495,31 +495,31 @@ type MiniUserFollowingMarkReadRequest struct { |
|
495
|
}
|
495
|
}
|
|
496
|
|
496
|
|
|
497
|
type UserItem struct {
|
497
|
type UserItem struct {
|
|
498
|
- Id int64 `json:"id,omitempty"` // 用户ID
|
|
|
|
499
|
- CompanyId int64 `json:"companyId,omitempty"` // 公司ID
|
|
|
|
500
|
- CompanyName string `json:"companyName,omitempty"` // 公司名称
|
|
|
|
501
|
- CompanyCode string `json:"companyCode,omitempty"` // 公司编码(邀请码)
|
|
|
|
502
|
- CompanyLogo *string `json:"companyLogo,omitempty"` // 公司LOGO
|
|
|
|
503
|
- Flag int `json:"flag,omitempty"` // 标识 1:管理员 2:普通用户 (有绑定角色是管理员)
|
|
|
|
504
|
- Name string `json:"name,omitempty"` // 名称
|
|
|
|
505
|
- Avatar string `json:"avatar,omitempty"` // 头像
|
|
|
|
506
|
- Phone string `json:"phone,omitempty"` // 手机号 唯一
|
|
|
|
507
|
- Position string `json:"position,omitempty"` // 职位
|
|
|
|
508
|
- Enable int `json:"enable,omitempty"` // 启用状态 1:启用 2:禁用
|
|
|
|
509
|
- AuditStatus *int `json:"auditStatus,omitempty"` // 审核状态 0:待审核 1:审核通过 2:拒绝
|
|
|
|
510
|
- Follower []int64 `json:"followers,omitempty"` // 关注我的人 (冗余)
|
|
|
|
511
|
- Following []int64 `json:"following,omitempty"` // 我关注的人 (冗余)
|
|
|
|
512
|
- Departments []int64 `json:"departments,omitempty"` // 所属部门
|
|
|
|
513
|
- AccountFrom string `json:"accountFrom,omitempty"` // 账号来源 后台新增、扫码注册
|
498
|
+ Id int64 `json:"id,omitempty"` // 用户ID
|
|
|
|
499
|
+ CompanyId int64 `json:"companyId,string,omitempty"` // 公司ID
|
|
|
|
500
|
+ CompanyName string `json:"companyName,omitempty"` // 公司名称
|
|
|
|
501
|
+ CompanyCode string `json:"companyCode,omitempty"` // 公司编码(邀请码)
|
|
|
|
502
|
+ CompanyLogo *string `json:"companyLogo,omitempty"` // 公司LOGO
|
|
|
|
503
|
+ Flag int `json:"flag,omitempty"` // 标识 1:管理员 2:普通用户 (有绑定角色是管理员)
|
|
|
|
504
|
+ Name string `json:"name,omitempty"` // 名称
|
|
|
|
505
|
+ Avatar string `json:"avatar,omitempty"` // 头像
|
|
|
|
506
|
+ Phone string `json:"phone,omitempty"` // 手机号 唯一
|
|
|
|
507
|
+ Position string `json:"position,omitempty"` // 职位
|
|
|
|
508
|
+ Enable int `json:"enable,omitempty"` // 启用状态 1:启用 2:禁用
|
|
|
|
509
|
+ AuditStatus *int `json:"auditStatus,omitempty"` // 审核状态 0:待审核 1:审核通过 2:拒绝
|
|
|
|
510
|
+ Follower []int64 `json:"followers,omitempty"` // 关注我的人 (冗余)
|
|
|
|
511
|
+ Following []int64 `json:"following,omitempty"` // 我关注的人 (冗余)
|
|
|
|
512
|
+ Departments []int64 `json:"departments,omitempty"` // 所属部门
|
|
|
|
513
|
+ AccountFrom string `json:"accountFrom,omitempty"` // 账号来源 后台新增、扫码注册
|
|
514
|
}
|
514
|
}
|
|
515
|
|
515
|
|
|
516
|
type Account struct {
|
516
|
type Account struct {
|
|
517
|
- CompanyId int64 `json:"companyId"` // 公司ID
|
|
|
|
518
|
- CompanyName string `json:"companyName"` // 公司名称
|
|
|
|
519
|
- Logo string `json:"logo"` // 公司图标
|
|
|
|
520
|
- UserId int64 `json:"userId"` // 用户ID
|
|
|
|
521
|
- Name string `json:"name"` // 名称
|
|
|
|
522
|
- Position string `json:"position"` // 职位
|
517
|
+ CompanyId int64 `json:"companyId,string"` // 公司ID
|
|
|
|
518
|
+ CompanyName string `json:"companyName"` // 公司名称
|
|
|
|
519
|
+ Logo string `json:"logo"` // 公司图标
|
|
|
|
520
|
+ UserId int64 `json:"userId"` // 用户ID
|
|
|
|
521
|
+ Name string `json:"name"` // 名称
|
|
|
|
522
|
+ Position string `json:"position"` // 职位
|
|
523
|
}
|
523
|
}
|
|
524
|
|
524
|
|
|
525
|
type Department struct {
|
525
|
type Department struct {
|