login

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Copyright 2019 Axetroy. All rights reserved. MIT license.

Copyright 2019 Axetroy. All rights reserved. MIT license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLoginLog

func GetLoginLog(id string) (res schema.Response)

func GetLoginLogRouter

func GetLoginLogRouter(context *gin.Context)

func GetLoginLogs

func GetLoginLogs(context controller.Context, q Query) (res schema.List)

func GetLoginLogsRouter

func GetLoginLogsRouter(context *gin.Context)

Types

type Query

type Query struct {
	schema.Query
	Uid     *string `json:"uid" form:"uid"`         // 根据用户 ID 筛选
	Type    *int    `json:"type" form:"type"`       // 根据类型筛选
	Command *int    `json:"command" form:"command"` // 根据登陆命令筛选
	Ip      *string `json:"ip"`                     // 根据 IP 筛选
}

Jump to

Keyboard shortcuts

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