diff --git a/.env.bate b/.env.bate index b223a6f..a7a1073 100644 --- a/.env.bate +++ b/.env.bate @@ -1,3 +1,3 @@ VUE_APP_BASE_URL = https://you-gateway.mashibing.com -VUE_APP_STATIC_URL = https://you-gateway.mashibing.com +VUE_APP_STATIC_URL = https://you-app.mashibing.com VUE_APP_IM_URL = wss://you-gateway.mashibing.com \ No newline at end of file diff --git a/.env.prod b/.env.prod index b223a6f..df8e146 100644 --- a/.env.prod +++ b/.env.prod @@ -1,3 +1,3 @@ VUE_APP_BASE_URL = https://you-gateway.mashibing.com -VUE_APP_STATIC_URL = https://you-gateway.mashibing.com +VUE_APP_STATIC_URL = https://you-app.mashibing.com VUE_APP_IM_URL = wss://you-gateway.mashibing.com \ No newline at end of file diff --git a/.env.test b/.env.test index 16b6a5e..04b10c7 100644 --- a/.env.test +++ b/.env.test @@ -1,3 +1,3 @@ -VUE_APP_BASE_URL = https://k8s-horse-gateway.mashibing.com -VUE_APP_STATIC_URL = https://k8s-shop-app.mashibing.com +VUE_APP_BASE_URL = https://k8s-horse-gateway.mashibing.cn +VUE_APP_STATIC_URL = https://k8s-shop-app.mashibing.cn VUE_APP_IM_URL = wss://k8s-horse-gateway.mashibing.cn \ No newline at end of file diff --git a/package.json b/package.json index c10d614..723f70b 100644 --- a/package.json +++ b/package.json @@ -3,18 +3,18 @@ "version": "0.1.0", "private": true, "scripts": { - "serve": "npm run dev:h5", - "serve:test": "npm run dev:h5-test", - "serve:bate": "npm run dev:h5-bate", - "serve:prod": "npm run dev:h5-prod", + "server": "npm run dev:h5", + "server:test": "npm run dev:h5-test", + "server:bate": "npm run dev:h5-bate", + "server:prod": "npm run dev:h5-prod", "build:test": "npm run build:h5-test", "build:bate": "npm run build:h5-bate", "build:prod": "npm run build:h5-prod", "build:app-plus": "cross-env NODE_ENV=production UNI_PLATFORM=app-plus vue-cli-service uni-build", "build:custom": "cross-env NODE_ENV=production uniapp-cli custom", "build:h5-test": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build --mode test", - "build:h5:bate": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build --mode bate", - "build:h5:prod": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build --mode prod", + "build:h5-bate": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build --mode bate", + "build:h5-prod": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build --mode prod", "build:mp-360": "cross-env NODE_ENV=production UNI_PLATFORM=mp-360 vue-cli-service uni-build", "build:mp-alipay": "cross-env NODE_ENV=production UNI_PLATFORM=mp-alipay vue-cli-service uni-build", "build:mp-baidu": "cross-env NODE_ENV=production UNI_PLATFORM=mp-baidu vue-cli-service uni-build", diff --git a/src/manifest.json b/src/manifest.json index 757f63c..1e18c2d 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -121,20 +121,7 @@ "base" : "" }, "devServer" : { - "proxy" : { - "/uc/" : { - "target" : "https://k8s-horse-gateway.mashibing.cn" - }, - "/mall/" : { - "target" : "https://k8s-horse-gateway.mashibing.cn" - }, - "/pay/" : { - "target" : "https://k8s-horse-gateway.mashibing.cn" - }, - "/oss/" : { - "target" : "https://k8s-horse-gateway.mashibing.cn" - } - } + "port" : 8080 }, "optimization" : { "treeShaking" : { diff --git a/src/pages/goods/enable.vue b/src/pages/goods/enable.vue index f58b94c..4badb58 100644 --- a/src/pages/goods/enable.vue +++ b/src/pages/goods/enable.vue @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-03-28 17:16:44 * @LastEditors: ch - * @LastEditTime: 2022-07-04 10:42:12 + * @LastEditTime: 2022-07-13 20:05:42 * @Description: file content -->