package
Version:
v0.0.0-...-d6ebf68
Opens a new window with list of versions in this module.
Published: Feb 4, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AjaxResult struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data interface{} `json:"data"`
}
ajax 响应
创建一个 AjaxResult code 默认 为 200
type PageQuery struct {
PageNum int `form:"page" json:"page_num"`
PageSize int `form:"page_size" json:"page_size"`
}
分页查询实体类
type StdJWTClaims struct {
jwt.StandardClaims
}
jwt 结构体
Source Files
¶
Click to show internal directories.
Click to hide internal directories.