【bug】 修改退出登录接口

This commit is contained in:
fengachen
2021-10-20 17:33:41 +08:00
parent 3a60a71545
commit 1a80f3882f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
const api = {
Login: '/company/login',
Logout: '/sys/logout',
Logout: '/company/logout',
ForgePassword: '/auth/forge-password',
Register: '/auth/register',
SendSms: '/account/sms',
+1 -1
View File
@@ -48,7 +48,7 @@ export function getSmsCaptcha(parameter) {
export function logout(logoutToken) {
return axios({
url: '/sys/logout',
url: '/company/logout',
method: 'post',
headers: {
'Content-Type': 'application/json;charset=UTF-8',