提交 1d42f5e0 编写于 作者: 史文彬's avatar 史文彬

feat: 切换环境调试

上级 d27edeff
NODE_ENV=production NODE_ENV=production
# 自定义 VUE_APP_ENV # 自定义 VUE_APP_ENV
VUE_APP_ENV ='production' VUE_APP_ENV ='testing'
VUE_APP_SERVICE_URL=https://test1-sc.yunqueyi.com VUE_APP_SERVICE_URL=https://test1-sc.yunqueyi.com
# 阿里云OSS对象存储地址 # 阿里云OSS对象存储地址
......
...@@ -204,7 +204,7 @@ ...@@ -204,7 +204,7 @@
import { createOrderSzV2 } from '@/api/question'; import { createOrderSzV2 } from '@/api/question';
import { getBanner, getCardTypes } from '@/api/entitlement'; import { getBanner, getCardTypes } from '@/api/entitlement';
import DatePicker from './date-picker.vue'; import DatePicker from './date-picker.vue';
// const { VUE_APP_ENV } = process.env; const { VUE_APP_ENV } = process.env;
let that; let that;
export default { export default {
components: { DatePicker }, components: { DatePicker },
...@@ -231,8 +231,8 @@ export default { ...@@ -231,8 +231,8 @@ export default {
showProtocol: false, showProtocol: false,
showCardTypeVisible: false, showCardTypeVisible: false,
cardTypes: [], cardTypes: [],
// envVersion: VUE_APP_ENV == 'production' ? 'release' : 'trial', envVersion: VUE_APP_ENV == 'production' ? 'release' : 'trial',
envVersion: 'trial', // envVersion: 'trial',
openWebAppConfigPositive: { openWebAppConfigPositive: {
username: 'gh_e92f58174364', // 小程序唯一username 1.gh_80d54796f2d5 云鹊助手 2. gh_e92f58174364 云鹊健康 username: 'gh_e92f58174364', // 小程序唯一username 1.gh_80d54796f2d5 云鹊助手 2. gh_e92f58174364 云鹊健康
path: 'pagesInsurance/all-entrance/index', // 打开页面 path: 'pagesInsurance/all-entrance/index', // 打开页面
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册