|
|
|
@ -59,7 +59,7 @@ func Routers(r *gin.RouterGroup) {
|
|
|
|
|
// @Success 200 {object} Model.Res
|
|
|
|
|
// @Router /base/organization/PageEnableEduInfo [get]
|
|
|
|
|
// @X-EmptyLimit ["page","limit","areaCode"]
|
|
|
|
|
// @X-LengthLimit [{"areaCode":"6,6"},{"orgName":"1,20"}]
|
|
|
|
|
// @X-LengthLimit [{"areaCode":"6,6"},{"orgName":"1,30"}]
|
|
|
|
|
// @X-IntRangeLimit [{"page":"1,1000"},{"limit":"1,1000"}]
|
|
|
|
|
// @X-RoleLimit ["1"]
|
|
|
|
|
// @X-TableName ["t_base_organization"]
|
|
|
|
@ -221,7 +221,7 @@ func GetEduInfoById(c *gin.Context) {
|
|
|
|
|
// @Router /base/organization/EnableEdu [post]
|
|
|
|
|
// @X-EmptyLimit ["orgId","orgCode","orgName"]
|
|
|
|
|
// @X-IntRangeLimit [{"sortId":"1,9999"}]
|
|
|
|
|
// @X-LengthLimit [{"orgId":"36,36"},{"orgCode":"2,20"},{"orgName":"2,50"},{"fddbr":"2,30"},{"fddbrdh":"2,30"},{"address":"2,100"},{"lxdh":"2,30"}]
|
|
|
|
|
// @X-LengthLimit [{"orgId":"36,36"},{"orgCode":"2,20"},{"orgName":"1,30"},{"fddbr":"2,30"},{"fddbrdh":"2,30"},{"address":"2,100"},{"lxdh":"2,30"}]
|
|
|
|
|
// @X-RoleLimit ["1"]
|
|
|
|
|
// @X-InterfaceName ["UpdateBaseOrganization"]
|
|
|
|
|
// @X-Sort [4]
|
|
|
|
@ -325,7 +325,7 @@ func DisableEdu(c *gin.Context) {
|
|
|
|
|
// @Router /base/organization/UpdateEduInfo [post]
|
|
|
|
|
// @X-EmptyLimit ["orgId","orgCode","orgName"]
|
|
|
|
|
// @X-IntRangeLimit [{"sortId":"1,9999"}]
|
|
|
|
|
// @X-LengthLimit [{"orgId":"36,36"},{"orgCode":"2,20"},{"orgName":"2,50"},{"fddbr":"2,30"},{"fddbrdh":"2,30"},{"address":"2,100"},{"lxdh":"2,30"}]
|
|
|
|
|
// @X-LengthLimit [{"orgId":"36,36"},{"orgCode":"2,20"},{"orgName":"1,30"},{"fddbr":"2,30"},{"fddbrdh":"2,30"},{"address":"2,100"},{"lxdh":"2,30"}]
|
|
|
|
|
// @X-RoleLimit ["1"]
|
|
|
|
|
// @X-InterfaceName ["UpdateBaseOrganization"]
|
|
|
|
|
// @X-Sort [6]
|
|
|
|
@ -387,7 +387,7 @@ func UpdateEduInfo(c *gin.Context) {
|
|
|
|
|
// @Success 200 {object} Model.Res
|
|
|
|
|
// @Router /base/organization/PageEduAssistInfo [get]
|
|
|
|
|
// @X-EmptyLimit ["page","limit","areaCode"]
|
|
|
|
|
// @X-LengthLimit [{"areaCode":"6,6"},{"orgName":"1,50"}]
|
|
|
|
|
// @X-LengthLimit [{"areaCode":"6,6"},{"orgName":"1,30"}]
|
|
|
|
|
// @X-IntRangeLimit [{"page":"1,1000"},{"limit":"1,1000"}]
|
|
|
|
|
// @X-RoleLimit ["1","2","3","4"]
|
|
|
|
|
// @X-TableName ["t_base_organization"]
|
|
|
|
@ -490,7 +490,7 @@ func GetEduAssistInfoById(c *gin.Context) {
|
|
|
|
|
// @Success 200 {object} Model.Res
|
|
|
|
|
// @Router /base/organization/AddEduAssistInfo [post]
|
|
|
|
|
// @X-EmptyLimit ["areaCode","orgCode","orgName"]
|
|
|
|
|
// @X-LengthLimit [{"areaCode":"6,6"},{"orgCode":"2,20"},{"orgName":"2,50"},{"fddbr":"2,30"},{"fddbrdh":"2,30"},{"address":"2,100"},{"lxdh":"2,30"}]
|
|
|
|
|
// @X-LengthLimit [{"areaCode":"6,6"},{"orgCode":"2,20"},{"orgName":"1,30"},{"fddbr":"2,30"},{"fddbrdh":"2,30"},{"address":"2,100"},{"lxdh":"2,30"}]
|
|
|
|
|
// @X-IntRangeLimit [{"sortId":"1,9999"}]
|
|
|
|
|
// @X-RoleLimit ["1","2","3","4"]
|
|
|
|
|
// @X-InterfaceName ["AddBaseOrganization"]
|
|
|
|
@ -554,7 +554,7 @@ func AddEduAssistInfo(c *gin.Context) {
|
|
|
|
|
// @Router /base/organization/UpdateEduAssistInfo [post]
|
|
|
|
|
// @X-EmptyLimit ["orgId","orgCode","orgName"]
|
|
|
|
|
// @X-IntRangeLimit [{"sortId":"1,9999"}]
|
|
|
|
|
// @X-LengthLimit [{"orgId":"36,36"},{"areaCode":"6,6"},{"orgCode":"2,20"},{"orgName":"2,50"},{"fddbr":"2,30"},{"fddbrdh":"2,30"},{"address":"2,100"}]
|
|
|
|
|
// @X-LengthLimit [{"orgId":"36,36"},{"areaCode":"6,6"},{"orgCode":"2,20"},{"orgName":"1,30"},{"fddbr":"2,30"},{"fddbrdh":"2,30"},{"address":"2,100"}]
|
|
|
|
|
// @X-RoleLimit ["1","2","3","4"]
|
|
|
|
|
// @X-InterfaceName ["UpdateBaseOrganization"]
|
|
|
|
|
// @X-Sort [10]
|
|
|
|
@ -657,7 +657,7 @@ func DeleteEduAssistInfo(c *gin.Context) {
|
|
|
|
|
// @Success 200 {object} Model.Res
|
|
|
|
|
// @Router /base/organization/PageSchoolInfo [get]
|
|
|
|
|
// @X-EmptyLimit ["page","limit","areaCode"]
|
|
|
|
|
// @X-LengthLimit [{"areaCode":"6,6"},{"orgName":"1,50"}]
|
|
|
|
|
// @X-LengthLimit [{"areaCode":"6,6"},{"orgName":"1,30"}]
|
|
|
|
|
// @X-IntRangeLimit [{"page":"1,1000"},{"limit":"1,1000"}]
|
|
|
|
|
// @X-RoleLimit ["1","2","3","4","7"]
|
|
|
|
|
// @X-InterfaceName ["PageBaseOrganization"]
|
|
|
|
@ -828,7 +828,7 @@ func GetSchoolInfoById(c *gin.Context) {
|
|
|
|
|
// @Router /base/organization/AddSchoolInfo [post]
|
|
|
|
|
// @X-EmptyLimit ["areaCode","orgCode","orgName"]
|
|
|
|
|
// @X-IntRangeLimit [{"sortId":"1,9999"}]
|
|
|
|
|
// @X-LengthLimit [{"areaCode":"6,6"},{"orgCode":"2,20"},{"orgName":"2,50"},{"fddbr":"2,30"},{"fddbrdh":"2,30"},{"address":"2,100"}]
|
|
|
|
|
// @X-LengthLimit [{"areaCode":"6,6"},{"orgCode":"2,20"},{"orgName":"1,30"},{"fddbr":"2,30"},{"fddbrdh":"2,30"},{"address":"2,100"}]
|
|
|
|
|
// @X-RoleLimit ["1","2","3","4","7"]
|
|
|
|
|
// @X-InterfaceName ["AddBaseOrganization"]
|
|
|
|
|
// @X-Sort [14]
|
|
|
|
@ -912,7 +912,7 @@ func AddSchoolInfo(c *gin.Context) {
|
|
|
|
|
// @Router /base/organization/UpdateSchoolInfo [post]
|
|
|
|
|
// @X-EmptyLimit ["orgId","orgCode","orgName","directlyUnderType","isBranchSchool","xxbbm","xxbxlxm","szdcxlxm","xxjbzm"]
|
|
|
|
|
// @X-IntRangeLimit [{"sortId":"1,9999"}]
|
|
|
|
|
// @X-LengthLimit [{"orgId":"36,36"},{"areaCode":"6,6"},{"orgCode":"2,20"},{"orgName":"2,50"},{"fddbr":"2,30"},{"fddbrdh":"2,30"},{"address":"2,100"}]
|
|
|
|
|
// @X-LengthLimit [{"orgId":"36,36"},{"areaCode":"6,6"},{"orgCode":"2,20"},{"orgName":"1,30"},{"fddbr":"2,30"},{"fddbrdh":"2,30"},{"address":"2,100"}]
|
|
|
|
|
// @X-RoleLimit ["1","2","3","4","7"]
|
|
|
|
|
// @X-InterfaceName ["UpdateBaseOrganization"]
|
|
|
|
|
// @X-Sort [15]
|
|
|
|
@ -1131,7 +1131,7 @@ func GetOrgInfo(c *gin.Context) {
|
|
|
|
|
// @Router /base/organization/AddOrgInfo [post]
|
|
|
|
|
// @X-EmptyLimit ["orgId","orgCode","orgName"]
|
|
|
|
|
// @X-IntRangeLimit [{"sortId":"1,9999"}]
|
|
|
|
|
// @X-LengthLimit [{"orgId":"36,36"},{"orgCode":"2,20"},{"orgName":"2,50"},{"parentId":"36,36"},{"orgManagerIds":"36,1800"}]
|
|
|
|
|
// @X-LengthLimit [{"orgId":"36,36"},{"orgCode":"2,20"},{"orgName":"1,30"},{"parentId":"36,36"},{"orgManagerIds":"36,1800"}]
|
|
|
|
|
// @X-RoleLimit ["1","2","3","4","5","6","7"]
|
|
|
|
|
// @X-InterfaceName ["AddBaseOrganization"]
|
|
|
|
|
// @X-Sort [19]
|
|
|
|
@ -1187,7 +1187,7 @@ func AddOrgInfo(c *gin.Context) {
|
|
|
|
|
// @Router /base/organization/UpdateOrgInfo [post]
|
|
|
|
|
// @X-EmptyLimit ["orgId","orgCode","orgName"]
|
|
|
|
|
// @X-IntRangeLimit [{"sortId":"1,9999"}]
|
|
|
|
|
// @X-LengthLimit [{"orgId":"36,36"},{"orgCode":"2,20"},{"orgName":"2,50"},{"orgManagerIds":"36,1800"}]
|
|
|
|
|
// @X-LengthLimit [{"orgId":"36,36"},{"orgCode":"2,20"},{"orgName":"1,30"},{"orgManagerIds":"36,1800"}]
|
|
|
|
|
// @X-RoleLimit ["1","2","3","4","5","6","7"]
|
|
|
|
|
// @X-InterfaceName ["UpdateBaseOrganization"]
|
|
|
|
|
// @X-Sort [20]
|
|
|
|
|