domain

package
v0.0.0-...-d6ebf68 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AjaxResult

type AjaxResult struct {
	Code int         `json:"code"`
	Msg  string      `json:"msg"`
	Data interface{} `json:"data"`
}

ajax 响应

func NewAjaxResult

func NewAjaxResult() *AjaxResult

创建一个 AjaxResult code 默认 为 200

type HtmlResult

type HtmlResult struct {
	// 模板名称
	Template string
	// 模板数据
	Data types.Map
}

响应 html 结果信息

type PageQuery

type PageQuery struct {
	PageNum  int `form:"page" json:"page_num"`
	PageSize int `form:"page_size" json:"page_size"`
}

分页查询实体类

type StdJWTClaims

type StdJWTClaims struct {
	jwt.StandardClaims
}

jwt 结构体

Jump to

Keyboard shortcuts

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