diff --git a/.env b/.env index 07cad84..f07324f 100644 --- a/.env +++ b/.env @@ -1,3 +1,7 @@ # 邮储奶茶活动 -VITE_YCNC_APPID = '2vikrqptiia9pe9bf5ztrd' -VITE_YCNC_SECRET = '6fpfwdkgcggyk0yf2yb6bt' \ No newline at end of file +# VITE_YCNC_APPID = '2vikrqptiia9pe9bf5ztrd' +# VITE_YCNC_SECRET = '6fpfwdkgcggyk0yf2yb6bt' + +# 邮储音视频 +VITE_YCNC_APPID = '2vi3695tiia9pe9bf5yyyi' +VITE_YCNC_SECRET = '6fpf26837kmgr0yf2yf643' \ No newline at end of file diff --git a/.env.production b/.env.production index 873e03e..59cfd18 100644 --- a/.env.production +++ b/.env.production @@ -4,7 +4,6 @@ # 邮储奶茶活动(测试环境) # 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 = '100510102303326' diff --git a/README.md b/README.md index 4bf3205..8721583 100644 --- a/README.md +++ b/README.md @@ -20,4 +20,5 @@ vite打包配置文件,主要是一些插件 ### 各个模块的说明 ycnc 邮储奶茶活动 xyyk 兴业半价优酷的活动 +ycysp 邮储音视频活动------>测试环境下,vite.config.js配置base,http配置请求content-type diff --git a/custom.page.js b/custom.page.js index 4737eca..3e4e797 100644 --- a/custom.page.js +++ b/custom.page.js @@ -5,6 +5,7 @@ import path from 'path' const config = { pages:'./src/pages', pagesInclude:['ycysp/home.vue','ycysp/pay.vue','ycysp/order.vue','ycysp/orderDetail.vue',] + // pagesInclude:['ycnc',] } const { pages, pagesInclude } = config @@ -37,7 +38,8 @@ const getPages = () => { const targetExclude = targetPages.filter(elem => !targetModule[ele].includes(elem)).map(current => `${ele}/${current}`) excludePages.push(...targetExclude) }) - console.log('排除的模块以及页面',[...excludeModule,...excludePages]); + console.log('打包的模块以及页面',[...config.pagesInclude]); + console.error('排除的模块以及页面',[...excludeModule,...excludePages]); return { exclude:[...excludeModule,...excludePages], } diff --git a/index.html b/index.html index fe0aa83..bac152f 100644 --- a/index.html +++ b/index.html @@ -16,16 +16,17 @@
+ - - +