Browse Source

登陆接口地址修改

pull/100/head
pengda 1 month ago
parent
commit
ceb714082c
  1. 2
      src/utils/login.js

2
src/utils/login.js

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

Loading…
Cancel
Save