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 }