This commit is contained in:
2024-10-07 22:49:36 +08:00
parent e8c20028af
commit dcdd42d6b0

View File

@@ -37,6 +37,7 @@ object ConstVars {
enum class ErrorCode(val code: Int) { enum class ErrorCode(val code: Int) {
USER_EXIST(40001), USER_EXIST(40001),
USER_NOT_EXIST(40002), USER_NOT_EXIST(40002),
InvalidateCaptcha(40004),
} }
fun Context.getErrorMessageCode(code: Int?): String { fun Context.getErrorMessageCode(code: Int?): String {