msg

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//参数校验
	ParamsMissing          = &weigo.Message{Code: 200101, Msg: "参数缺失"}
	ParamsInvalid          = &weigo.Message{Code: 200102, Msg: "参数无效"}
	ParamsMissingORInvalid = &weigo.Message{Code: 200102, Msg: "参数缺失或无效"}

	//数据库信息信息
	DataNone             = &weigo.Message{Code: 200201, Msg: "数据不存在"}
	DataExists           = &weigo.Message{Code: 200202, Msg: "数据已存在"}
	DataAccountExists    = &weigo.Message{Code: 200203, Msg: "账户已存在"}
	DataAccountNotExists = &weigo.Message{Code: 200204, Msg: "账户不存在"}
	DataPasswordError    = &weigo.Message{Code: 200204, Msg: "密码错误"}

	//系统错误
	SysError = &weigo.Message{Code: 200501, Msg: "系统错误"}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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