feat: 旋转验证对接成功

This commit is contained in:
landaiqing
2024-06-05 01:53:04 +08:00
parent 60732f6142
commit af176c0e66
5 changed files with 449 additions and 335 deletions

View File

@@ -14,7 +14,7 @@ class Request {
(config) => {
const token: string | null = getStorageFromKey("token");
if (token) {
config.headers.Authorization = `schisandra ${token}`;
config.headers.Authorization = `${import.meta.env.VITE_APP_TOKEN_KEY} ${token}`;
}
// if (config.method == "post") {