Documentation ¶
Index ¶
- func DeleteLoginLog(c *gin.Context)
- func DeleteOperLog(c *gin.Context)
- func GetLoginLog(c *gin.Context)
- func GetLoginLogList(c *gin.Context)
- func GetOperLog(c *gin.Context)
- func GetOperLogList(c *gin.Context)
- func InsertLoginLog(c *gin.Context)
- func InsertOperLog(c *gin.Context)
- func UpdateLoginLog(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteLoginLog ¶
@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 ¶
@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 ¶
@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 ¶
@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 ¶
@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 ¶
@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 ¶
@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 ¶
@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 ¶
@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.