add comments

This commit is contained in:
MaysWind
2020-12-22 23:39:36 +08:00
parent e66f0c7f48
commit bb10498893
12 changed files with 41 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@ import (
"net/http"
)
// Error codes related to users
var (
ErrLoginNameInvalid = NewNormalError(NORMAL_SUBCATEGORY_USER, 0, http.StatusUnauthorized, "login name is invalid")
ErrLoginNameOrPasswordInvalid = NewNormalError(NORMAL_SUBCATEGORY_USER, 1, http.StatusUnauthorized, "login name or password is invalid")