perf: 嵌入式持续校验

This commit is contained in:
fit2cloud-chenyw
2023-12-01 14:25:19 +08:00
parent 93a7b23180
commit 8a5230f7a7
6 changed files with 11 additions and 12 deletions

View File

@@ -116,10 +116,10 @@ service.interceptors.response.use(
response: AxiosResponse<any> & { config: InternalAxiosRequestConfig & { loading?: boolean } }
) => {
executeVersionHandler(response)
if (response.headers['x-de-refresh-token']) {
/* if (response.headers['x-de-refresh-token']) {
wsCache.set('user.token', response.headers['x-de-refresh-token'])
wsCache.set('user.exp', new Date().getTime() + 90000)
}
} */
if (response.headers['x-de-link-token']) {
linkStore.setLinkToken(response.headers['x-de-link-token'])
}