You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
621 B
34 lines
621 B
|
3 days ago
|
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"`
|
||
|
|
}
|