Merge branch 'master' of 10.10.14.250:huanghai/dsMin

master
huanghai 5 years ago
commit 982d718f9a

@ -67,6 +67,8 @@ func GetManageAreaInfo(c *gin.Context) {
// @Router /base/role/GetPersonRoleInfo [get]
// @X-InterfaceName ["GetBaseRolePerson"]
// @X-RoleLimit ["1","2","3","4","5","6","7"]
// @X-TableName ["t_base_role_person"]
// @X-RemoveSwaggerField ["id","id_int","identity_id","b_use","last_updated_time","person_id","rule_id"]
// @X-Sort [2]
func GetPersonRoleInfo(c *gin.Context) {
//人员ID

@ -6,7 +6,7 @@ import (
)
func GetPersonRoleInfo(personId string, actionPersonId string, actionIpAddress string) (*BaseRolePersonProto.Reply, error) {
Reply, err := GetBaseRolePerson(BaseRolePersonProto.ModelArg{PersonId: personId, ActionPersonId: actionPersonId, ActionIpAddress: actionIpAddress})
Reply, err := PageBaseRolePerson(BaseRolePersonProto.QueryArg{PersonId: personId, ActionPersonId: actionPersonId, ActionIpAddress: actionIpAddress})
return Reply, err
}

@ -32,14 +32,14 @@ func GetManageArea(getManageAreaArg BaseRolePersonProto.GetManageAreaArg) (*Base
2020-06-28 09:50:28
*/
func GetBaseRolePerson(modelArg BaseRolePersonProto.ModelArg) (*BaseRolePersonProto.Reply, error) {
func PageBaseRolePerson(queryArg BaseRolePersonProto.QueryArg) (*BaseRolePersonProto.Reply, error) {
//1、准备动作连接服务器
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
conn := GRpcUtil.GetConnection()
//2、业务传参
c := BaseRolePersonProto.NewBaseRolePersonManageClient(conn)
Reply, err := c.GetBaseRolePerson(ctx, &modelArg)
Reply, err := c.PageBaseRolePerson(ctx, &queryArg)
if err != nil {
LogUtil.Error("获取人员角色信息错误: ", err.Error())
}

@ -1480,6 +1480,38 @@ var doc = `{
},
"type": "object"
},
"base.role.GetPersonRoleInfo": {
"properties": {
"count": {
"description": "一共有多少条",
"example": "1",
"type": "integer"
},
"list": {
"items": {
"properties": {
"role_id": {
"description": "角色ID",
"example": "9CD6B804-0F89-4626-A812-29465CFC7410",
"type": "string"
}
}
},
"type": "array"
},
"message": {
"description": "返回的消息",
"example": "操作成功",
"type": "string"
},
"success": {
"description": "是否成功",
"example": "true",
"type": "boolean"
}
},
"type": "object"
},
"base.student.GetStudentInfo": {
"properties": {
"count": {
@ -1914,26 +1946,19 @@ var doc = `{
]
}
},
"/base/business/UpdateBaseBusiness": {
"post": {
"/base/business/GetBaseBusiness": {
"get": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "修改业务系统信息",
"description": "获取业务系统信息(单条)",
"parameters": [
{
"description": "业务系统编码",
"in": "formData",
"in": "query",
"name": "businessCode",
"required": true,
"type": "string"
},
{
"description": "业务系统名称",
"in": "formData",
"name": "businessName",
"required": true,
"type": "string"
}
],
"produces": [
@ -1947,20 +1972,16 @@ var doc = `{
}
}
},
"summary": "修改业务系统信息",
"summary": "获取业务系统信息(单条)",
"tags": [
"业务系统维护"
],
"x-emptylimit": [
"businessCode",
"businessName"
"businessCode"
],
"x-lengthlimit": [
{
"businessCode": "6,6"
},
{
"businessName": "1:50"
}
],
"x-rolelimit": [
@ -2011,19 +2032,26 @@ var doc = `{
]
}
},
"/base/business/GetBaseBusiness": {
"get": {
"/base/business/UpdateBaseBusiness": {
"post": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "获取业务系统信息(单条)",
"description": "修改业务系统信息",
"parameters": [
{
"description": "业务系统编码",
"in": "query",
"in": "formData",
"name": "businessCode",
"required": true,
"type": "string"
},
{
"description": "业务系统名称",
"in": "formData",
"name": "businessName",
"required": true,
"type": "string"
}
],
"produces": [
@ -2037,16 +2065,20 @@ var doc = `{
}
}
},
"summary": "获取业务系统信息(单条)",
"summary": "修改业务系统信息",
"tags": [
"业务系统维护"
],
"x-emptylimit": [
"businessCode"
"businessCode",
"businessName"
],
"x-lengthlimit": [
{
"businessCode": "6,6"
},
{
"businessName": "1:50"
}
],
"x-rolelimit": [
@ -3429,12 +3461,12 @@ var doc = `{
]
}
},
"/base/student/ExportStudentExcel": {
"/base/student/ExportStudentAccountExcel": {
"get": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "导出本校学生信息到EXCEL",
"description": "导出本校学生账号信息到EXCEL",
"parameters": [
{
"description": "学校ID",
@ -3461,7 +3493,7 @@ var doc = `{
}
}
},
"summary": "导出本校学生信息到EXCEL",
"summary": "导出本校学生账号信息到EXCEL",
"tags": [
"学生信息"
],
@ -3486,12 +3518,12 @@ var doc = `{
]
}
},
"/base/student/ExportStudentAccountExcel": {
"/base/student/ExportStudentExcel": {
"get": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "导出本校学生账号信息到EXCEL",
"description": "导出本校学生信息到EXCEL",
"parameters": [
{
"description": "学校ID",
@ -3518,7 +3550,7 @@ var doc = `{
}
}
},
"summary": "导出本校学生账号信息到EXCEL",
"summary": "导出本校学生信息到EXCEL",
"tags": [
"学生信息"
],
@ -5856,6 +5888,57 @@ var doc = `{
]
}
},
"/base/loginperson/ExportAreaManagerInfoExcel": {
"get": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "导出地区管理员到EXCEL(虚拟)",
"parameters": [
{
"description": "地区码",
"in": "query",
"name": "areaCode",
"required": true,
"type": "string"
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/Model.Res"
}
}
},
"summary": "导出地区管理员到EXCEL(虚拟)",
"tags": [
"登录信息"
],
"x-emptylimit": [
"areaCode"
],
"x-interfacename": [
"PageSysLoginperson"
],
"x-lengthlimit": [
{
"areaCode": "6,6"
}
],
"x-rolelimit": [
"1",
"2",
"3"
],
"x-sort": [
2
]
}
},
"/base/loginperson/ExportBureauManagerInfoExcel": {
"get": {
"consumes": [
@ -5914,17 +5997,17 @@ var doc = `{
]
}
},
"/base/loginperson/ExportAreaManagerInfoExcel": {
"get": {
"/base/loginperson/ResetManagerPassWord": {
"post": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "导出地区管理员到EXCEL(虚拟)",
"description": "重置管理员密码",
"parameters": [
{
"description": "地区码",
"in": "query",
"name": "areaCode",
"description": "一个或多个ID多个用逗号分隔",
"in": "formData",
"name": "ids",
"required": true,
"type": "string"
}
@ -5940,28 +6023,27 @@ var doc = `{
}
}
},
"summary": "导出地区管理员到EXCEL(虚拟)",
"summary": "重置管理员密码",
"tags": [
"登录信息"
],
"x-emptylimit": [
"areaCode"
],
"x-interfacename": [
"PageSysLoginperson"
"ids"
],
"x-lengthlimit": [
{
"areaCode": "6,6"
"ids": "36,1800"
}
],
"x-rolelimit": [
"1",
"2",
"3"
"3",
"4",
"7"
],
"x-sort": [
2
3
]
}
},
@ -6060,56 +6142,6 @@ var doc = `{
]
}
},
"/base/loginperson/ResetManagerPassWord": {
"post": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "重置管理员密码",
"parameters": [
{
"description": "一个或多个ID多个用逗号分隔",
"in": "formData",
"name": "ids",
"required": true,
"type": "string"
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/Model.Res"
}
}
},
"summary": "重置管理员密码",
"tags": [
"登录信息"
],
"x-emptylimit": [
"ids"
],
"x-lengthlimit": [
{
"ids": "36,1800"
}
],
"x-rolelimit": [
"1",
"2",
"3",
"4",
"7"
],
"x-sort": [
3
]
}
},
"/base/loginperson/EnableAccountInfo": {
"post": {
"consumes": [
@ -7294,12 +7326,12 @@ var doc = `{
]
}
},
"/base/organization/PageSchoolInfo": {
"/base/organization/PageMainSchoolInfo": {
"get": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "获取校列表",
"description": "获取校列表",
"parameters": [
{
"description": "第几页",
@ -7321,19 +7353,6 @@ var doc = `{
"name": "areaCode",
"required": true,
"type": "string"
},
{
"description": "学校办学类型 -1全部",
"in": "query",
"name": "xxbxlxm",
"required": true,
"type": "string"
},
{
"description": "学校名称",
"in": "query",
"name": "orgName",
"type": "string"
}
],
"produces": [
@ -7343,11 +7362,11 @@ var doc = `{
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/base.organization.PageSchoolInfo"
"$ref": "#/definitions/base.organization.PageMainSchoolInfo"
}
}
},
"summary": "获取校列表",
"summary": "获取校列表",
"tags": [
"组织机构"
],
@ -7377,9 +7396,6 @@ var doc = `{
"x-lengthlimit": [
{
"areaCode": "6,6"
},
{
"orgName": "1,50"
}
],
"x-removeswaggerfield": [
@ -7423,12 +7439,12 @@ var doc = `{
]
}
},
"/base/organization/PageMainSchoolInfo": {
"/base/organization/PageSchoolInfo": {
"get": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "获取校列表",
"description": "获取校列表",
"parameters": [
{
"description": "第几页",
@ -7450,6 +7466,19 @@ var doc = `{
"name": "areaCode",
"required": true,
"type": "string"
},
{
"description": "学校办学类型 -1全部",
"in": "query",
"name": "xxbxlxm",
"required": true,
"type": "string"
},
{
"description": "学校名称",
"in": "query",
"name": "orgName",
"type": "string"
}
],
"produces": [
@ -7459,11 +7488,11 @@ var doc = `{
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/base.organization.PageMainSchoolInfo"
"$ref": "#/definitions/base.organization.PageSchoolInfo"
}
}
},
"summary": "获取校列表",
"summary": "获取校列表",
"tags": [
"组织机构"
],
@ -7493,6 +7522,9 @@ var doc = `{
"x-lengthlimit": [
{
"areaCode": "6,6"
},
{
"orgName": "1,50"
}
],
"x-removeswaggerfield": [
@ -8677,19 +8709,40 @@ var doc = `{
]
}
},
"/base/area/GetGovArea": {
"get": {
"/base/area/UpdateGovArea": {
"post": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "获取行政区划信息(单条)",
"description": "修改行政区划信息",
"parameters": [
{
"description": "行政区划码",
"in": "query",
"description": "区域代码",
"in": "formData",
"name": "areaCode",
"required": true,
"type": "string"
},
{
"description": "区域名称",
"in": "formData",
"name": "areaName",
"required": true,
"type": "string"
},
{
"description": "上级代码",
"in": "formData",
"name": "masterCode",
"required": true,
"type": "string"
},
{
"description": "区域类型",
"in": "formData",
"name": "areaTypeId",
"required": true,
"type": "integer"
}
],
"produces": [
@ -8703,19 +8756,28 @@ var doc = `{
}
}
},
"summary": "获取行政区划信息(单条)",
"summary": "修改行政区划信息",
"tags": [
"行政区划"
],
"x-emptylimit": [
"areaCode"
"areaTypeId",
"areaCode",
"areaName",
"masterCode"
],
"x-intlimit": [
"areaCode"
"areaTypeId"
],
"x-lengthlimit": [
{
"areaCode": "6,6"
},
{
"masterCode": "6,6"
},
{
"areaName": "3:50"
}
],
"x-rolelimit": [
@ -8729,40 +8791,19 @@ var doc = `{
]
}
},
"/base/area/AddGovArea": {
"post": {
"/base/area/GetGovArea": {
"get": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "增加行政区划信息",
"description": "获取行政区划信息(单条)",
"parameters": [
{
"description": "区域代码",
"in": "formData",
"description": "行政区划码",
"in": "query",
"name": "areaCode",
"required": true,
"type": "string"
},
{
"description": "区域名称",
"in": "formData",
"name": "areaName",
"required": true,
"type": "string"
},
{
"description": "上级代码",
"in": "formData",
"name": "masterCode",
"required": true,
"type": "string"
},
{
"description": "区域类型",
"in": "formData",
"name": "areaTypeId",
"required": true,
"type": "integer"
}
],
"produces": [
@ -8776,28 +8817,19 @@ var doc = `{
}
}
},
"summary": "增加行政区划信息",
"summary": "获取行政区划信息(单条)",
"tags": [
"行政区划"
],
"x-emptylimit": [
"areaTypeId",
"areaCode",
"areaName",
"masterCode"
"areaCode"
],
"x-intlimit": [
"areaTypeId"
"areaCode"
],
"x-lengthlimit": [
{
"areaCode": "6,6"
},
{
"masterCode": "6,6"
},
{
"areaName": "3,50"
}
],
"x-rolelimit": [
@ -8811,12 +8843,12 @@ var doc = `{
]
}
},
"/base/area/UpdateGovArea": {
"/base/area/AddGovArea": {
"post": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "修改行政区划信息",
"description": "增加行政区划信息",
"parameters": [
{
"description": "区域代码",
@ -8858,7 +8890,7 @@ var doc = `{
}
}
},
"summary": "修改行政区划信息",
"summary": "增加行政区划信息",
"tags": [
"行政区划"
],
@ -8879,7 +8911,7 @@ var doc = `{
"masterCode": "6,6"
},
{
"areaName": "3:50"
"areaName": "3,50"
}
],
"x-rolelimit": [
@ -8944,7 +8976,7 @@ var doc = `{
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/Model.Res"
"$ref": "#/definitions/base.role.GetPersonRoleInfo"
}
}
},
@ -8955,6 +8987,15 @@ var doc = `{
"x-interfacename": [
"GetBaseRolePerson"
],
"x-removeswaggerfield": [
"id",
"id_int",
"identity_id",
"b_use",
"last_updated_time",
"person_id",
"rule_id"
],
"x-rolelimit": [
"1",
"2",
@ -8966,6 +9007,9 @@ var doc = `{
],
"x-sort": [
2
],
"x-tablename": [
"t_base_role_person"
]
}
}

@ -1465,6 +1465,38 @@
},
"type": "object"
},
"base.role.GetPersonRoleInfo": {
"properties": {
"count": {
"description": "一共有多少条",
"example": "1",
"type": "integer"
},
"list": {
"items": {
"properties": {
"role_id": {
"description": "角色ID",
"example": "9CD6B804-0F89-4626-A812-29465CFC7410",
"type": "string"
}
}
},
"type": "array"
},
"message": {
"description": "返回的消息",
"example": "操作成功",
"type": "string"
},
"success": {
"description": "是否成功",
"example": "true",
"type": "boolean"
}
},
"type": "object"
},
"base.student.GetStudentInfo": {
"properties": {
"count": {
@ -1899,26 +1931,19 @@
]
}
},
"/base/business/UpdateBaseBusiness": {
"post": {
"/base/business/GetBaseBusiness": {
"get": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "修改业务系统信息",
"description": "获取业务系统信息(单条)",
"parameters": [
{
"description": "业务系统编码",
"in": "formData",
"in": "query",
"name": "businessCode",
"required": true,
"type": "string"
},
{
"description": "业务系统名称",
"in": "formData",
"name": "businessName",
"required": true,
"type": "string"
}
],
"produces": [
@ -1932,20 +1957,16 @@
}
}
},
"summary": "修改业务系统信息",
"summary": "获取业务系统信息(单条)",
"tags": [
"业务系统维护"
],
"x-emptylimit": [
"businessCode",
"businessName"
"businessCode"
],
"x-lengthlimit": [
{
"businessCode": "6,6"
},
{
"businessName": "1:50"
}
],
"x-rolelimit": [
@ -1996,19 +2017,26 @@
]
}
},
"/base/business/GetBaseBusiness": {
"get": {
"/base/business/UpdateBaseBusiness": {
"post": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "获取业务系统信息(单条)",
"description": "修改业务系统信息",
"parameters": [
{
"description": "业务系统编码",
"in": "query",
"in": "formData",
"name": "businessCode",
"required": true,
"type": "string"
},
{
"description": "业务系统名称",
"in": "formData",
"name": "businessName",
"required": true,
"type": "string"
}
],
"produces": [
@ -2022,16 +2050,20 @@
}
}
},
"summary": "获取业务系统信息(单条)",
"summary": "修改业务系统信息",
"tags": [
"业务系统维护"
],
"x-emptylimit": [
"businessCode"
"businessCode",
"businessName"
],
"x-lengthlimit": [
{
"businessCode": "6,6"
},
{
"businessName": "1:50"
}
],
"x-rolelimit": [
@ -3414,12 +3446,12 @@
]
}
},
"/base/student/ExportStudentExcel": {
"/base/student/ExportStudentAccountExcel": {
"get": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "导出本校学生信息到EXCEL",
"description": "导出本校学生账号信息到EXCEL",
"parameters": [
{
"description": "学校ID",
@ -3446,7 +3478,7 @@
}
}
},
"summary": "导出本校学生信息到EXCEL",
"summary": "导出本校学生账号信息到EXCEL",
"tags": [
"学生信息"
],
@ -3471,12 +3503,12 @@
]
}
},
"/base/student/ExportStudentAccountExcel": {
"/base/student/ExportStudentExcel": {
"get": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "导出本校学生账号信息到EXCEL",
"description": "导出本校学生信息到EXCEL",
"parameters": [
{
"description": "学校ID",
@ -3503,7 +3535,7 @@
}
}
},
"summary": "导出本校学生账号信息到EXCEL",
"summary": "导出本校学生信息到EXCEL",
"tags": [
"学生信息"
],
@ -5841,6 +5873,57 @@
]
}
},
"/base/loginperson/ExportAreaManagerInfoExcel": {
"get": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "导出地区管理员到EXCEL(虚拟)",
"parameters": [
{
"description": "地区码",
"in": "query",
"name": "areaCode",
"required": true,
"type": "string"
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/Model.Res"
}
}
},
"summary": "导出地区管理员到EXCEL(虚拟)",
"tags": [
"登录信息"
],
"x-emptylimit": [
"areaCode"
],
"x-interfacename": [
"PageSysLoginperson"
],
"x-lengthlimit": [
{
"areaCode": "6,6"
}
],
"x-rolelimit": [
"1",
"2",
"3"
],
"x-sort": [
2
]
}
},
"/base/loginperson/ExportBureauManagerInfoExcel": {
"get": {
"consumes": [
@ -5899,17 +5982,17 @@
]
}
},
"/base/loginperson/ExportAreaManagerInfoExcel": {
"get": {
"/base/loginperson/ResetManagerPassWord": {
"post": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "导出地区管理员到EXCEL(虚拟)",
"description": "重置管理员密码",
"parameters": [
{
"description": "地区码",
"in": "query",
"name": "areaCode",
"description": "一个或多个ID多个用逗号分隔",
"in": "formData",
"name": "ids",
"required": true,
"type": "string"
}
@ -5925,28 +6008,27 @@
}
}
},
"summary": "导出地区管理员到EXCEL(虚拟)",
"summary": "重置管理员密码",
"tags": [
"登录信息"
],
"x-emptylimit": [
"areaCode"
],
"x-interfacename": [
"PageSysLoginperson"
"ids"
],
"x-lengthlimit": [
{
"areaCode": "6,6"
"ids": "36,1800"
}
],
"x-rolelimit": [
"1",
"2",
"3"
"3",
"4",
"7"
],
"x-sort": [
2
3
]
}
},
@ -6045,56 +6127,6 @@
]
}
},
"/base/loginperson/ResetManagerPassWord": {
"post": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "重置管理员密码",
"parameters": [
{
"description": "一个或多个ID多个用逗号分隔",
"in": "formData",
"name": "ids",
"required": true,
"type": "string"
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/Model.Res"
}
}
},
"summary": "重置管理员密码",
"tags": [
"登录信息"
],
"x-emptylimit": [
"ids"
],
"x-lengthlimit": [
{
"ids": "36,1800"
}
],
"x-rolelimit": [
"1",
"2",
"3",
"4",
"7"
],
"x-sort": [
3
]
}
},
"/base/loginperson/EnableAccountInfo": {
"post": {
"consumes": [
@ -7279,12 +7311,12 @@
]
}
},
"/base/organization/PageSchoolInfo": {
"/base/organization/PageMainSchoolInfo": {
"get": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "获取校列表",
"description": "获取校列表",
"parameters": [
{
"description": "第几页",
@ -7306,19 +7338,6 @@
"name": "areaCode",
"required": true,
"type": "string"
},
{
"description": "学校办学类型 -1全部",
"in": "query",
"name": "xxbxlxm",
"required": true,
"type": "string"
},
{
"description": "学校名称",
"in": "query",
"name": "orgName",
"type": "string"
}
],
"produces": [
@ -7328,11 +7347,11 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/base.organization.PageSchoolInfo"
"$ref": "#/definitions/base.organization.PageMainSchoolInfo"
}
}
},
"summary": "获取校列表",
"summary": "获取校列表",
"tags": [
"组织机构"
],
@ -7362,9 +7381,6 @@
"x-lengthlimit": [
{
"areaCode": "6,6"
},
{
"orgName": "1,50"
}
],
"x-removeswaggerfield": [
@ -7408,12 +7424,12 @@
]
}
},
"/base/organization/PageMainSchoolInfo": {
"/base/organization/PageSchoolInfo": {
"get": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "获取校列表",
"description": "获取校列表",
"parameters": [
{
"description": "第几页",
@ -7435,6 +7451,19 @@
"name": "areaCode",
"required": true,
"type": "string"
},
{
"description": "学校办学类型 -1全部",
"in": "query",
"name": "xxbxlxm",
"required": true,
"type": "string"
},
{
"description": "学校名称",
"in": "query",
"name": "orgName",
"type": "string"
}
],
"produces": [
@ -7444,11 +7473,11 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/base.organization.PageMainSchoolInfo"
"$ref": "#/definitions/base.organization.PageSchoolInfo"
}
}
},
"summary": "获取校列表",
"summary": "获取校列表",
"tags": [
"组织机构"
],
@ -7478,6 +7507,9 @@
"x-lengthlimit": [
{
"areaCode": "6,6"
},
{
"orgName": "1,50"
}
],
"x-removeswaggerfield": [
@ -8662,19 +8694,40 @@
]
}
},
"/base/area/GetGovArea": {
"get": {
"/base/area/UpdateGovArea": {
"post": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "获取行政区划信息(单条)",
"description": "修改行政区划信息",
"parameters": [
{
"description": "行政区划码",
"in": "query",
"description": "区域代码",
"in": "formData",
"name": "areaCode",
"required": true,
"type": "string"
},
{
"description": "区域名称",
"in": "formData",
"name": "areaName",
"required": true,
"type": "string"
},
{
"description": "上级代码",
"in": "formData",
"name": "masterCode",
"required": true,
"type": "string"
},
{
"description": "区域类型",
"in": "formData",
"name": "areaTypeId",
"required": true,
"type": "integer"
}
],
"produces": [
@ -8688,19 +8741,28 @@
}
}
},
"summary": "获取行政区划信息(单条)",
"summary": "修改行政区划信息",
"tags": [
"行政区划"
],
"x-emptylimit": [
"areaCode"
"areaTypeId",
"areaCode",
"areaName",
"masterCode"
],
"x-intlimit": [
"areaCode"
"areaTypeId"
],
"x-lengthlimit": [
{
"areaCode": "6,6"
},
{
"masterCode": "6,6"
},
{
"areaName": "3:50"
}
],
"x-rolelimit": [
@ -8714,40 +8776,19 @@
]
}
},
"/base/area/AddGovArea": {
"post": {
"/base/area/GetGovArea": {
"get": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "增加行政区划信息",
"description": "获取行政区划信息(单条)",
"parameters": [
{
"description": "区域代码",
"in": "formData",
"description": "行政区划码",
"in": "query",
"name": "areaCode",
"required": true,
"type": "string"
},
{
"description": "区域名称",
"in": "formData",
"name": "areaName",
"required": true,
"type": "string"
},
{
"description": "上级代码",
"in": "formData",
"name": "masterCode",
"required": true,
"type": "string"
},
{
"description": "区域类型",
"in": "formData",
"name": "areaTypeId",
"required": true,
"type": "integer"
}
],
"produces": [
@ -8761,28 +8802,19 @@
}
}
},
"summary": "增加行政区划信息",
"summary": "获取行政区划信息(单条)",
"tags": [
"行政区划"
],
"x-emptylimit": [
"areaTypeId",
"areaCode",
"areaName",
"masterCode"
"areaCode"
],
"x-intlimit": [
"areaTypeId"
"areaCode"
],
"x-lengthlimit": [
{
"areaCode": "6,6"
},
{
"masterCode": "6,6"
},
{
"areaName": "3,50"
}
],
"x-rolelimit": [
@ -8796,12 +8828,12 @@
]
}
},
"/base/area/UpdateGovArea": {
"/base/area/AddGovArea": {
"post": {
"consumes": [
"application/x-www-form-urlencoded"
],
"description": "修改行政区划信息",
"description": "增加行政区划信息",
"parameters": [
{
"description": "区域代码",
@ -8843,7 +8875,7 @@
}
}
},
"summary": "修改行政区划信息",
"summary": "增加行政区划信息",
"tags": [
"行政区划"
],
@ -8864,7 +8896,7 @@
"masterCode": "6,6"
},
{
"areaName": "3:50"
"areaName": "3,50"
}
],
"x-rolelimit": [
@ -8929,7 +8961,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/Model.Res"
"$ref": "#/definitions/base.role.GetPersonRoleInfo"
}
}
},
@ -8940,6 +8972,15 @@
"x-interfacename": [
"GetBaseRolePerson"
],
"x-removeswaggerfield": [
"id",
"id_int",
"identity_id",
"b_use",
"last_updated_time",
"person_id",
"rule_id"
],
"x-rolelimit": [
"1",
"2",
@ -8951,6 +8992,9 @@
],
"x-sort": [
2
],
"x-tablename": [
"t_base_role_person"
]
}
}

@ -1105,6 +1105,29 @@ definitions:
example: "true"
type: boolean
type: object
base.role.GetPersonRoleInfo:
properties:
count:
description: 一共有多少条
example: "1"
type: integer
list:
items:
properties:
role_id:
description: 角色ID
example: 9CD6B804-0F89-4626-A812-29465CFC7410
type: string
type: array
message:
description: 返回的消息
example: 操作成功
type: string
success:
description: 是否成功
example: "true"
type: boolean
type: object
base.student.GetStudentInfo:
properties:
count:
@ -4866,12 +4889,20 @@ paths:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
$ref: '#/definitions/base.role.GetPersonRoleInfo'
summary: 获取人员角色信息
tags:
- 角色信息
x-interfacename:
- GetBaseRolePerson
x-removeswaggerfield:
- id
- id_int
- identity_id
- b_use
- last_updated_time
- person_id
- rule_id
x-rolelimit:
- "1"
- "2"
@ -4882,6 +4913,8 @@ paths:
- "7"
x-sort:
- 2
x-tablename:
- t_base_role_person
/base/student/AddStudentInfo:
post:
consumes:

Loading…
Cancel
Save