| | |
| | | } |
| | | |
| | | var ( |
| | | LicenseExpired = &Code{http.StatusForbidden, false, "license expired"} |
| | | // Success 请求处理成功 |
| | | Success = &Code{http.StatusOK, true, "请求处理成功"} |
| | | AddSuccess = &Code{http.StatusOK, true, "添加成功"} |
| | |
| | | // RequestParamError 请求参数错误 |
| | | RequestParamError = &Code{http.StatusBadRequest, false, "请求参数有误"} |
| | | // AccountPassUnmatch 该账号原密码不匹配 |
| | | AccountPassUnmatch = &Code{http.StatusBadRequest, false, "该账号原密码不匹配"} |
| | | AccountPassUnmatch = &Code{http.StatusOK, false, "该账号原密码不匹配"} |
| | | // SignupPassUnmatch 注册两次输入密码不匹配 |
| | | SignupPassUnmatch = &Code{http.StatusBadRequest, false, "注册两次输入密码不匹配"} |
| | | // AccountNameExist 账号昵称重复,请更换为其他昵称 |