auth

package
v0.0.0-...-10721fb Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthRequestAuth

func AuthRequestAuth(token string) ([]string, error)

func QueryAgentInfo

func QueryAgentInfo(token string) (string, int, int, string, error)

func QueryOpenIdBytoken

func QueryOpenIdBytoken(token string) (string, error)

Types

type JccRecord

type JccRecord struct {
	Id        int    `orm:"column(id);auto"`
	Boss      string `orm:"column(boss);size(255)" description:"用户名"`
	CreatedAt int    `orm:"column(created_at)" description:"创建时间"`
	Param     string `orm:"column(param)" description:"请求参数"`
	Api       string `orm:"column(api);size(255);null" description:"后台api"`
	Path      string `orm:"column(path);size(255);null" description:"前端路由"`
	Ip        string `orm:"column(ip);size(255)" description:"用户ip"`
}

func (*JccRecord) AddJccRecord

func (m *JccRecord) AddJccRecord() (id int64, err error)

Jump to

Keyboard shortcuts

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