api_v1

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 0 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayRes

type ArrayRes []interface{}

type BoolRes

type BoolRes bool

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 []map[string]interface{}

type MapRes

type MapRes map[string]interface{}

type StringRes

type StringRes string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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