|
|
@ -8,7 +8,7 @@ export async function autoLoginByToken() { |
|
|
|
|
|
|
|
if (token) { |
|
|
|
try { |
|
|
|
const res = await axios.post('/agentnew/token_login', { token: token },{ |
|
|
|
const res = await axios.post('/api/agentnew/token_login', { token: token },{ |
|
|
|
headers: { |
|
|
|
'Content-Type': 'application/x-www-form-urlencoded' |
|
|
|
}, |
|
|
|