git commit -m feat(projects): 对接后端登录接口

This commit is contained in:
2025-11-30 11:04:30 +08:00
parent b3fb87d850
commit 65640c8b71
16 changed files with 54 additions and 44 deletions

12
.env
View File

@ -2,9 +2,9 @@
# if use a sub directory, it must be end with "/", like "/admin/" but not "/admin"
VITE_BASE_URL=/
VITE_APP_TITLE=SoybeanAdmin
VITE_APP_TITLE=Dolphin
VITE_APP_DESC=SoybeanAdmin is a fresh and elegant admin template
VITE_APP_DESC='A fresh and elegant admin management system'
# the prefix of the icon name
VITE_ICON_PREFIX=icon
@ -29,16 +29,16 @@ VITE_HTTP_PROXY=Y
VITE_ROUTER_HISTORY_MODE=history
# success code of backend service, when the code is received, the request is successful
VITE_SERVICE_SUCCESS_CODE=0000
VITE_SERVICE_SUCCESS_CODE=00000000
# logout codes of backend service, when the code is received, the user will be logged out and redirected to login page
VITE_SERVICE_LOGOUT_CODES=8888,8889
VITE_SERVICE_LOGOUT_CODES=00010001,00010002
# modal logout codes of backend service, when the code is received, the user will be logged out by displaying a modal
VITE_SERVICE_MODAL_LOGOUT_CODES=7777,7778
VITE_SERVICE_MODAL_LOGOUT_CODES=00010004
# token expired codes of backend service, when the code is received, it will refresh the token and resend the request
VITE_SERVICE_EXPIRED_TOKEN_CODES=9999,9998,3333
VITE_SERVICE_EXPIRED_TOKEN_CODES=00010003
# when the route mode is static, the defined super role
VITE_STATIC_SUPER_ROLE=R_SUPER