diff --git a/.env.development b/.env.development index 42e242b..4051359 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,5 @@ # 兴业优酷 # VITE_BASE_URL = 'http://192.168.110.50:8083' # 邮储奶茶活动 -VITE_BASE_URL = 'http://milk.api.test.86698.cn' +# VITE_BASE_URL = 'http://milk.api.test.86698.cn' +VITE_BASE_URL = 'http://milk.test.api.cdlsxd.cn' diff --git a/.env.production b/.env.production index 370a255..0f39b4e 100644 --- a/.env.production +++ b/.env.production @@ -2,8 +2,9 @@ # VITE_BASE_URL = 'http://192.168.110.50:8083' # 邮储奶茶活动(测试环境) -# VITE_BASE_URL = 'http://milk.api.test.86698.cn' -# VITE_YCNC_MERCH_CODE = '100610100019029' +VITE_BASE_URL = 'http://milk.test.api.cdlsxd.cn' +# VITE_YCNC_MERCH_CODE = '100310100018908' +VITE_YCNC_MERCH_CODE = '100610100019042' # 邮储奶茶活动(正式环境) -VITE_BASE_URL = 'https://milk.api.cdlsxd.cn' -VITE_YCNC_MERCH_CODE = '100510102294138' \ No newline at end of file +# VITE_BASE_URL = 'https://milk.api.cdlsxd.cn' +# VITE_YCNC_MERCH_CODE = '100510102303326' \ No newline at end of file diff --git a/src/api/ycnc.js b/src/api/ycnc.js index 1387c67..ee99bfc 100644 --- a/src/api/ycnc.js +++ b/src/api/ycnc.js @@ -51,3 +51,10 @@ export const refundOrder = (params) => http({ }) +//查询订单状态,主要针对短连接 +export const queryOrderState = (params) => http({ + url:'/api/v1/auth/order/state', + method:'POST', + ...params +}) + diff --git a/src/pages/ycnc/components/brand.vue b/src/pages/ycnc/components/brand.vue index 55b0b76..8650f3b 100644 --- a/src/pages/ycnc/components/brand.vue +++ b/src/pages/ycnc/components/brand.vue @@ -1,5 +1,5 @@