log

package
v0.0.0-...-47c7cf5 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteLoginLog

func DeleteLoginLog(c *gin.Context)

@Summary 批量删除登录日志 @Description 删除数据 @Tags 登录日志 @Param infoId path string true "以逗号(,)分割的infoId" @Success 200 {string} string "{"code": 200, "message": "删除成功"}" @Success 200 {string} string "{"code": -1, "message": "删除失败"}" @Router /api/v1/loginlog/{infoId} [delete]

func DeleteOperLog

func DeleteOperLog(c *gin.Context)

@Summary 批量删除操作日志 @Description 删除数据 @Tags 操作日志 @Param operId path string true "以逗号(,)分割的operId" @Success 200 {string} string "{"code": 200, "message": "删除成功"}" @Success 200 {string} string "{"code": -1, "message": "删除失败"}" @Router /api/v1/operlog/{operId} [delete]

func GetLoginLog

func GetLoginLog(c *gin.Context)

@Summary 通过编码获取登录日志 @Description 获取JSON @Tags 登录日志 @Param infoId path int true "infoId" @Success 200 {object} models.Response "{"code": 200, "data": [...]}" @Router /api/v1/loginlog/{infoId} [get] @Security

func GetLoginLogList

func GetLoginLogList(c *gin.Context)

@Summary 登录日志列表 @Description 获取JSON @Tags 登录日志 @Param status query string false "status" @Param dictCode query string false "dictCode" @Param dictType query string false "dictType" @Param pageSize query int false "页条数" @Param pageIndex query int false "页码" @Success 200 {object} models.Response "{"code": 200, "data": [...]}" @Router /api/v1/loginloglist [get] @Security

func GetOperLog

func GetOperLog(c *gin.Context)

@Summary 通过编码获取登录日志 @Description 获取JSON @Tags 登录日志 @Param infoId path int true "infoId" @Success 200 {object} models.Response "{"code": 200, "data": [...]}" @Router /api/v1/operlog/{infoId} [get] @Security

func GetOperLogList

func GetOperLogList(c *gin.Context)

@Summary 登录日志列表 @Description 获取JSON @Tags 登录日志 @Param status query string false "status" @Param dictCode query string false "dictCode" @Param dictType query string false "dictType" @Param pageSize query int false "页条数" @Param pageIndex query int false "页码" @Success 200 {object} models.Response "{"code": 200, "data": [...]}" @Router /api/v1/operloglist [get] @Security

func InsertLoginLog

func InsertLoginLog(c *gin.Context)

@Summary 添加登录日志 @Description 获取JSON @Tags 登录日志 @Accept application/json @Product application/json @Param data body models.LoginLog true "data" @Success 200 {string} string "{"code": 200, "message": "添加成功"}" @Success 200 {string} string "{"code": -1, "message": "添加失败"}" @Router /api/v1/loginlog [post] @Security Bearer

func InsertOperLog

func InsertOperLog(c *gin.Context)

@Summary 添加操作日志 @Description 获取JSON @Tags 操作日志 @Accept application/json @Product application/json @Param data body models.SysOperLog true "data" @Success 200 {string} string "{"code": 200, "message": "添加成功"}" @Success 200 {string} string "{"code": -1, "message": "添加失败"}" @Router /api/v1/operlog [post] @Security Bearer

func UpdateLoginLog

func UpdateLoginLog(c *gin.Context)

@Summary 修改登录日志 @Description 获取JSON @Tags 登录日志 @Accept application/json @Product application/json @Param data body models.LoginLog true "body" @Success 200 {string} string "{"code": 200, "message": "添加成功"}" @Success 200 {string} string "{"code": -1, "message": "添加失败"}" @Router /api/v1/loginlog [put] @Security Bearer

Types

This section is empty.

Jump to

Keyboard shortcuts

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