HR管理系统
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.

23 lines
403 B

package roleapi
import (
"hr_server/overall/overallhandle"
"github.com/gin-gonic/gin"
)
// 角色API
type ApiModer struct{}
// 入口
func (s *ApiModer) Index(c *gin.Context) {
outputCont := overallhandle.MapOut()
outputCont["index"] = "角色API"
overallhandle.Result(0, outputCont, c)
}
// 获取角色列表
type GetRoleCont struct {
Name string `json:"name"`
overallhandle.PageTurning
}