Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop
This commit is contained in:
@@ -228,15 +228,16 @@ type UpdateLdapOrganizationReq {
|
||||
}
|
||||
//添加ldap用户帐号
|
||||
type CreateLdapUserReq {
|
||||
UserName string `json:"user_name"` //用户名
|
||||
Email string `json:"email"` //邮箱
|
||||
Password string `json:"password"` //密码
|
||||
Mobile string `json:"mobile"` //手机号
|
||||
Avatar string `json:"avatar"` //头像地址
|
||||
EmployeeType int64 `json:"employee_type,options=1|2|3"` //1正式 2实习 3外包
|
||||
GroupId int64 `json:"group_id,optional"` //授权分组id
|
||||
OrganizationDNList []string `json:"organization_dn_list"` //属于哪些部门
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
UserName string `json:"user_name"` //用户名
|
||||
Email string `json:"email"` //邮箱
|
||||
Password string `json:"password"` //密码
|
||||
Mobile string `json:"mobile"` //手机号
|
||||
Avatar string `json:"avatar"` //头像地址
|
||||
EmployeeType int64 `json:"employee_type,options=1|2|3"` //1正式 2实习 3外包
|
||||
GroupId int64 `json:"group_id,optional"` //授权分组id
|
||||
Gender int64 `json:"gender,options=1|2|3"` //性别 1男 2女 3未知
|
||||
Birthday string `json:"birthday"` //生日
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
}
|
||||
//修改ldap用户信息
|
||||
type UpdateLdapUserReq {
|
||||
@@ -247,6 +248,8 @@ type UpdateLdapUserReq {
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
EmployeeType int64 `json:"employee_type,options=1|2|3"` //1正式 2实习 3外包
|
||||
GroupId int64 `json:"group_id,optional"` //权限分组id
|
||||
Gender int64 `json:"gender,options=1|2|3"` //性别 1男 2女 3未知
|
||||
Birthday string `json:"birthday"` //生日
|
||||
}
|
||||
//修改用户密码
|
||||
type UpdateLdapUserPwdReq {
|
||||
@@ -265,12 +268,14 @@ type GetLdapUserInfoReq {
|
||||
type GetLdapUserInfoRsp {
|
||||
UserId int64 `json:"user_id"`
|
||||
UserDN string `json:"user_dn"`
|
||||
UserName string `json:"user_name"` //用户名
|
||||
Email string `json:"email"` //邮箱
|
||||
Mobile string `json:"mobile"` //手机号
|
||||
Avatar string `json:"avatar"` //头像地址
|
||||
EmployeeTpye int64 `json:"employee_tpye"` //雇佣类型 1正式 2实习 3外包
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
UserName string `json:"user_name"` //用户名
|
||||
Email string `json:"email"` //邮箱
|
||||
Mobile string `json:"mobile"` //手机号
|
||||
Avatar string `json:"avatar"` //头像地址
|
||||
EmployeeTpye int64 `json:"employee_tpye"` //雇佣类型 1正式 2实习 3外包
|
||||
Gender int64 `json:"gender,options=1|2|3"` //性别 1男 2女 3未知
|
||||
Birthday string `json:"birthday"` //生日
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
}
|
||||
//ldap组织添加成员
|
||||
type AddLdapOrganizationMemberReq {
|
||||
@@ -292,12 +297,14 @@ type GetLdapOrganizationMembersRsp {
|
||||
type GetLdapOrganizationMembersItem {
|
||||
UserId int64 `json:"userId"`
|
||||
UserDN string `json:"user_dn"`
|
||||
UserName string `json:"user_name"` //用户名
|
||||
Email string `json:"email"` //邮箱
|
||||
Mobile string `json:"mobile"` //手机号
|
||||
Avatar string `json:"avatar"` //头像地址
|
||||
EmployeeType int64 `json:"employee_type"`
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
UserName string `json:"user_name"` //用户名
|
||||
Email string `json:"email"` //邮箱
|
||||
Mobile string `json:"mobile"` //手机号
|
||||
Avatar string `json:"avatar"` //头像地址
|
||||
EmployeeType int64 `json:"employee_type"` //雇佣类型
|
||||
Gender int64 `json:"gender,options=1|2|3"` //性别 1男 2女 3未知
|
||||
Birthday string `json:"birthday"` //生日
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
}
|
||||
//获取基础用户组中成员列表
|
||||
type GetLdapUsersReq {
|
||||
|
||||
@@ -190,7 +190,8 @@ type TemplateTagColorInfo {
|
||||
}
|
||||
//根据产品获取模型配件列表
|
||||
type GetProductModelsReq {
|
||||
ProductIds string `form:"product_ids"`
|
||||
ProductIds string `form:"product_ids"`
|
||||
TemplateTag string `form:"template_tag,optional"`
|
||||
}
|
||||
type ProductItem {
|
||||
ModelList []ModelItem `json:"model_list"`
|
||||
|
||||
Reference in New Issue
Block a user