This commit is contained in:
2026-04-22 18:54:52 +08:00
commit bc8986e3b2
49 changed files with 20987 additions and 0 deletions

18
config/constants.js Normal file
View File

@@ -0,0 +1,18 @@
const STORAGE_KEYS = {
session: 'app.session'
}
const RESULT_CODES = {
success: 0
}
const REQUEST_TIMEOUT = 10000
const AUTH_EXPIRED_CODES = [401, 419, 10001]
module.exports = {
AUTH_EXPIRED_CODES,
REQUEST_TIMEOUT,
RESULT_CODES,
STORAGE_KEYS
}