service_code

package
v1.1.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Success      = 1
	UnknownError = 0

	ParamsVerifyError = 8101
	MethodNotAllowed  = 8201
)

Variables

View Source
var ServerMsgMap = map[int]string{
	Success:      "成功",
	UnknownError: "未知错误",

	ParamsVerifyError: "参数验证失败",
	MethodNotAllowed:  "不被允许的方法",
}

Functions

func GetServerMsg

func GetServerMsg(code int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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