api_v1

package
v0.2.52 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 1 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayRes

type ArrayRes g.Array

type BoolRes

type BoolRes bool

type DataRes added in v0.1.0

type DataRes interface{}

type Int64ArrRes

type Int64ArrRes []int64

type Int64Res

type Int64Res int64

type IntRes

type IntRes int

type JsonRes

type JsonRes struct {
	Code    int         `json:"code" dc:"错误码((0:成功, 1:失败, >1:错误码)"`
	Message string      `json:"message" dc:"提示信息"`
	Data    interface{} `json:"data" dc:"返回数据(业务接口定义具体数据结构)"`
	Time    string      `json:"time" dc:"响应时间"`
}

JsonRes 数据返回通用JSON数据结构

type ListRes

type ListRes g.List

type MapRes

type MapRes g.Map

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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