diff --git a/.env.development b/.env.development index 6f56968..5bbd0a4 100644 --- a/.env.development +++ b/.env.development @@ -5,5 +5,5 @@ VITE_APP_TITLE = 运营云后台管理系统 VITE_APP_ENV = 'development' # 开发环境 -VITE_APP_BASE_API = 'http://192.168.18.99:8080/' +VITE_APP_BASE_API = 'http://192.168.18.99:8080' VITE_APP_PLATFORM = 'http://localhost:9000/platform' \ No newline at end of file diff --git a/src/api/common.js b/src/api/common.js index fc80f79..d65c61d 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -3,7 +3,7 @@ import request from '@/utils/request' //云南省所有区域信息 export function getRegion(code) { let codeVal = code ? code : '530000'; - return request('/apis/system/area/region?areaCode=' + codeVal, { + return request('/goods/goodInfoManage/goodArea?areaCode=' + codeVal, { method: 'GET', }); } diff --git a/src/api/goods/info.js b/src/api/goods/info.js index 67a22ba..e3de400 100644 --- a/src/api/goods/info.js +++ b/src/api/goods/info.js @@ -118,8 +118,8 @@ export function categoryRemove(data) { // 启用或禁用商品分类 export function enableAndDisableCategory(data) { return request({ - url: "/goods/business/category/add", - method: "post", + url: "/goods/business/category/enable", + method: "put", data: data, }); } diff --git a/src/components/myUploadImage.vue b/src/components/myUploadImage.vue index 5501de9..fa885fb 100644 --- a/src/components/myUploadImage.vue +++ b/src/components/myUploadImage.vue @@ -1,6 +1,6 @@ + diff --git a/src/views/login.vue b/src/views/login.vue index a233847..3babec8 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -100,7 +100,7 @@ const userStore = useUserStore(); const route = useRoute(); const router = useRouter(); const { proxy } = getCurrentInstance(); -const showType = ref(2); +const showType = ref(1); const loginForm = ref({ username: "admin",