structs

package
v0.0.0-...-46bb8c9 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Respone

func Respone(context *gin.Context, resp ResponeStruct)

Types

type ResponeStruct

type ResponeStruct struct {
	//业务是否处理成功(查询类是否有返回数据)
	Success bool `json:"success"`
	//消息
	Msg string `json:"msg"`
	//数据
	Data interface{} `json:"data"`
	//	分页信息
	Page interface{} `json:"page"`
}

统一返回

Jump to

Keyboard shortcuts

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