...
|
...
|
@@ -48,7 +48,7 @@ type ResponseDepartmentInfo struct { |
|
|
|
|
|
//ResponseDepartmentList ....
|
|
|
type ResponseDepartmentList struct {
|
|
|
List []ResponseDepartmentInfo `json:"list"`
|
|
|
List []ResponseDepartmentInfo `json:"lists"`
|
|
|
}
|
|
|
|
|
|
//RequestPositionAdd 添加职位
|
...
|
...
|
@@ -103,7 +103,7 @@ type RequestUserList struct { |
|
|
//ResponseUserList 响应的用户列表
|
|
|
type ResponseUserList struct {
|
|
|
ResponsePageInfo
|
|
|
List []UserListItem `json:"list"`
|
|
|
List []UserListItem `json:"lists"`
|
|
|
}
|
|
|
|
|
|
type UserListItem struct {
|
...
|
...
|
@@ -145,4 +145,23 @@ func (c CenterCompanyInfo) IsForbid() bool { |
|
|
return false
|
|
|
}
|
|
|
|
|
|
// type ResponseCenterCompany |
|
|
// type Request
|
|
|
|
|
|
type ResponseCenterCompany struct {
|
|
|
UCenterCompanyId int64 `json:"comopany_id"` //总
|
|
|
Exist int8 `json:"exist"` //公司【1:存在;【-1:不存在】
|
|
|
Status int8 `json:"status"` //公司的启用状态【1:启用,-1:禁用】
|
|
|
}
|
|
|
|
|
|
func (r *ResponseCenterCompany) ExistYes() {
|
|
|
r.Exist = 1
|
|
|
}
|
|
|
func (r *ResponseCenterCompany) ExistNo() {
|
|
|
r.Exist = -1
|
|
|
}
|
|
|
func (r *ResponseCenterCompany) StatusYes() {
|
|
|
r.Status = 1
|
|
|
}
|
|
|
func (r *ResponseCenterCompany) StatusNo() {
|
|
|
r.Status = -1
|
|
|
} |
...
|
...
|
|