package humanResources import ( "appPlatform/models/modelshr" "appPlatform/overall/publicmethod" "sync" "github.com/gin-gonic/gin" ) // 协程设置 var syncSeting = sync.WaitGroup{} type ApiMethod struct{} // 人力资源 func (a *ApiMethod) Index(c *gin.Context) { outputCont := publicmethod.MapOut[string]() outputCont["index"] = "人力资源入口" publicmethod.Result(0, outputCont, c) } // 菜单ID type MenuIdCont struct { MenuId string `json:"menuId"` } // 赋权菜单树 type OrgTreePower struct { modelshr.OrgCont Status bool `json:"status"` Child []OrgTreePower `json:"child"` }