diff --git a/src/api/modules/mer_admin.js b/src/api/modules/mer_admin.js index 378d992..b7e7607 100644 --- a/src/api/modules/mer_admin.js +++ b/src/api/modules/mer_admin.js @@ -15,9 +15,8 @@ export const mer_admin = { * @returns */ loginByAccount: (params) => { - return $http.post(`/auth/login`, { + return $http.post(`/admin-api/auth/login`, { ...params, - type: 1, }); }, loginByMobile: (params) => { @@ -155,5 +154,4 @@ export const mer_admin = { params: { id }, }); }, - }; diff --git a/src/views/common/login.vue b/src/views/common/login.vue index b763c0e..8b921b9 100644 --- a/src/views/common/login.vue +++ b/src/views/common/login.vue @@ -3,9 +3,7 @@