add: SecretIsEmpty Message
This commit is contained in:
parent
9ea5c626e9
commit
39306f3043
@ -739,6 +739,9 @@ func RegisterHandlers(router *gin.Engine, serverCtx *svc.ServiceContext) {
|
||||
{
|
||||
// Get subscribe list
|
||||
publicSubscribeGroupRouter.GET("/list", publicSubscribe.QuerySubscribeListHandler(serverCtx))
|
||||
|
||||
// Get user subscribe node info
|
||||
publicSubscribeGroupRouter.GET("/node/list", publicSubscribe.QueryUserSubscribeNodeListHandler(serverCtx))
|
||||
}
|
||||
|
||||
publicTicketGroupRouter := router.Group("/v1/public/ticket")
|
||||
|
||||
@ -47,6 +47,7 @@ const (
|
||||
ErrorTokenExpire uint32 = 40004
|
||||
InvalidAccess uint32 = 40005
|
||||
InvalidCiphertext uint32 = 40006
|
||||
SecretIsEmpty uint32 = 40007
|
||||
)
|
||||
|
||||
//coupon error
|
||||
|
||||
@ -14,6 +14,7 @@ func init() {
|
||||
ErrorTokenEmpty: "User token is empty",
|
||||
ErrorTokenInvalid: "User token is invalid",
|
||||
ErrorTokenExpire: "User token is expired",
|
||||
SecretIsEmpty: "Secret is empty",
|
||||
InvalidAccess: "Invalid access",
|
||||
InvalidCiphertext: "Invalid ciphertext",
|
||||
// Database error
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user