api

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CaptchaApi

type CaptchaApi struct{}

CaptchaApi 验证码接口层

func (CaptchaApi) Hello

func (e CaptchaApi) Hello(_ iris.Context, _ *engine.Engines) resp.Resp

func (CaptchaApi) Image

func (s CaptchaApi) Image() resp.Resp

Image 图形验证码 path: /admin/captcha/image

type CommonApi

type CommonApi struct{}

CommonApi 系统用户接口层

func (CommonApi) DictOption

func (e CommonApi) DictOption(_ iris.Context, ens *engine.Engines) resp.Resp

DictOption 查询参数字典 path: /admin/common/dict/option param:

	ctx: Iris默认可接收参数
 	egs: 所有第三方依赖, 如redis、orm (如不需要,不接收参数即可)

func (CommonApi) Hello

func (e CommonApi) Hello(_ iris.Context, _ *engine.Engines) resp.Resp

type SysRoleApi

type SysRoleApi struct{}

SysRoleApi 系统角色接口层

func (SysRoleApi) Hello

func (s SysRoleApi) Hello(ctx iris.Context, ens *engine.Engines) resp.Resp

Hello path: /admin/role/hello

type SysUserApi

type SysUserApi struct{}

SysUserApi 系统用户接口层

func (SysUserApi) Create

func (e SysUserApi) Create(_ iris.Context, ens *engine.Engines) resp.Resp

Create path: /admin/user/create

func (SysUserApi) Hello

func (e SysUserApi) Hello(_ iris.Context, ens *engine.Engines) resp.Resp

Hello 测试接口 path: /admin/user/hello param:

	ctx: Iris默认可接收参数
 	ens: 所有第三方依赖, 如redis、orm (如不需要,不接收参数即可)

func (SysUserApi) Login

func (s SysUserApi) Login(_ iris.Context, ens *engine.Engines) resp.Resp

Login 登录 path: /admin/user/login

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL