diff --git a/.env.development b/.env.development index d3fe22d..a8fceaf 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ VITE_NOW_TYPE = 'dist' -VITE_BASE_URL = 'http://192.168.1.10:8546' -# VITE_BASE_URL = 'https://erp.lihaink.cn' \ No newline at end of file +# VITE_BASE_URL = 'http://192.168.1.10:8546' +VITE_BASE_URL = 'https://erp.lihaink.cn' \ No newline at end of file diff --git a/src/api/store.js b/src/api/store.js index 3611733..4a70d45 100644 --- a/src/api/store.js +++ b/src/api/store.js @@ -4,7 +4,7 @@ import request from '@/utils/axios.js' * @description 加入购物车 */ export function cartCreateApi(data) { - return request.post(`user/cart/create`, data) + return request.post(`/order/cart/create`, data) } /** diff --git a/src/views/saleHome/component/pupop.vue b/src/views/saleHome/component/pupop.vue index 2ed441a..c9eb7da 100644 --- a/src/views/saleHome/component/pupop.vue +++ b/src/views/saleHome/component/pupop.vue @@ -1,121 +1,94 @@