|
@@ -14,7 +14,8 @@ import { axios } from '@/utils/request'
|
|
|
*/
|
|
|
export function login(parameter) {
|
|
|
return axios({
|
|
|
- url: '/sys/login',
|
|
|
+ // url: '/sys/login',
|
|
|
+ url: '/sso/dy/login',
|
|
|
method: 'post',
|
|
|
data: parameter
|
|
|
})
|
|
@@ -48,7 +49,8 @@ export function getSmsCaptcha(parameter) {
|
|
|
|
|
|
export function logout(logoutToken) {
|
|
|
return axios({
|
|
|
- url: '/sys/logout',
|
|
|
+ // url: '/sys/logout',
|
|
|
+ url: '/sso/dy/logout',
|
|
|
method: 'post',
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json;charset=UTF-8',
|