feat: 合并Gin_Vue
This commit is contained in:
15
src/framework/constants/result/result.go
Normal file
15
src/framework/constants/result/result.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package result
|
||||
|
||||
// 响应结果常量信息
|
||||
|
||||
const (
|
||||
// 响应-code错误失败
|
||||
CODE_ERROR = 0
|
||||
// 响应-msg错误失败
|
||||
MSG_ERROR = "error"
|
||||
|
||||
// 响应-msg正常成功
|
||||
CODE_SUCCESS = 1
|
||||
// 响应-code正常成功
|
||||
MSG_SUCCESS = "success"
|
||||
)
|
||||
Reference in New Issue
Block a user