package
0.0.0-20201121090629-594642b436b7
Repository: https://github.com/isjyi/os.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

@Summary 获取验证码 @Description 获取验证码 @Tags 系统 @Accept json @Produce json @Success 200 {string} string "{"code": 200,"data": [...]}" @Router /v1/captcha [get].
@Summary 获取Role数据 @Description 获取JSON @Tags 系统 @Param roleId path string false "roleId" @Success 200 {string} string "{"code": 200, "data": [...]}" @Router /v1/role [get] @Security Bearer.
@Summary 查询系统信息 @Description 获取JSON @Tags 系统 @Success 200 {string} string "{"code": 200, "message": "添加成功"}" @Success 200 {string} string "{"code": -1, "message": "添加失败"}" @Router /api/v1/setting [get].
No description provided by the author
@Summary 获取用户信息 @Description 获取用户信息 @Tags 系统 @Success 200 {object} app.Response{data=response.InfoResponse} @Router /v1/info [get] @Security Bearer.
@Summary 根据角色名称获取菜单列表数据(侧边栏使用) @Description 获取JSON @Tags 菜单 @Param id path int true "id" @Success 200 {object} app.Response{data=[]models.Menu} "desc" @Failure 401 {object} app.Response" @Router /api/v1/menurole [get] @Security Bearer.
@Summary 用户注册账号 @Description 用户注册接口 @Tags 系统 @Accept json @Produce json @Param data body server.Register true "param" @Success 200 {object} app.Response" @Failure 402 {object} app.Response" @Router /v1/register [post].

# Constants

No description provided by the author