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