🔧 build(修改环境变量配置):
This commit is contained in:
parent
ece4f09546
commit
9fa06c5a2c
@ -5,6 +5,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
defineConstants: {
|
defineConstants: {
|
||||||
CURRENT_BASE_URL: '"https://test.zzfzyc.com/lymarket"',
|
CURRENT_BASE_URL: '"https://test.zzfzyc.com/lymarket"',
|
||||||
|
CURRENT_CAP_HTML_TO_IMAGE_BASE_URL: '"https://test.zzfzyc.com"',
|
||||||
|
CURRENT_PAY_H5_CODE_URL: '"https://test.zzfzyc.com/cashier"',
|
||||||
},
|
},
|
||||||
mini: {
|
mini: {
|
||||||
// optimizeMainPackage: {
|
// optimizeMainPackage: {
|
||||||
|
@ -5,6 +5,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
defineConstants: {
|
defineConstants: {
|
||||||
CURRENT_BASE_URL: '"https://pre.zzfzyc.com/lymarket"',
|
CURRENT_BASE_URL: '"https://pre.zzfzyc.com/lymarket"',
|
||||||
|
CURRENT_CAP_HTML_TO_IMAGE_BASE_URL: '"https://pre.zzfzyc.com"',
|
||||||
|
CURRENT_PAY_H5_CODE_URL: '"https://pre.zzfzyc.com/cashier"',
|
||||||
},
|
},
|
||||||
mini: {
|
mini: {
|
||||||
optimizeMainPackage: {
|
optimizeMainPackage: {
|
||||||
|
@ -5,6 +5,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
defineConstants: {
|
defineConstants: {
|
||||||
CURRENT_BASE_URL: '"https://www.zzfzyc.com/lymarket"',
|
CURRENT_BASE_URL: '"https://www.zzfzyc.com/lymarket"',
|
||||||
|
CURRENT_CAP_HTML_TO_IMAGE_BASE_URL: '"https://wwww.zzfzyc.com"',
|
||||||
|
CURRENT_PAY_H5_CODE_URL: '"https://wwww.zzfzyc.com/cashier"',
|
||||||
},
|
},
|
||||||
mini: {
|
mini: {
|
||||||
// optimizeMainPackage: {
|
// optimizeMainPackage: {
|
||||||
|
49049
package-lock.json
generated
Normal file
49049
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
22
package.json
22
package.json
@ -41,12 +41,12 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.7.7",
|
"@babel/runtime": "^7.7.7",
|
||||||
"@tarojs/components": "3.5.5",
|
"@tarojs/components": "3.5.6",
|
||||||
"@tarojs/mini-runner": "3.5.5",
|
"@tarojs/mini-runner": "3.5.6",
|
||||||
"@tarojs/plugin-framework-react": "3.5.5",
|
"@tarojs/plugin-framework-react": "3.5.6",
|
||||||
"@tarojs/react": "3.5.5",
|
"@tarojs/react": "3.5.6",
|
||||||
"@tarojs/runtime": "3.5.5",
|
"@tarojs/runtime": "3.5.6",
|
||||||
"@tarojs/taro": "3.5.5",
|
"@tarojs/taro": "3.5.6",
|
||||||
"big.js": "^6.1.1",
|
"big.js": "^6.1.1",
|
||||||
"dayjs": "^1.11.3",
|
"dayjs": "^1.11.3",
|
||||||
"qs": "^6.10.3",
|
"qs": "^6.10.3",
|
||||||
@ -61,18 +61,18 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.8.0",
|
"@babel/core": "^7.8.0",
|
||||||
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
|
||||||
"@tarojs/plugin-mini-ci": "^3.5.1",
|
"@tarojs/plugin-mini-ci": "3.5.6",
|
||||||
"@tarojs/plugin-react-devtools": "^3.4.13",
|
"@tarojs/plugin-react-devtools": "3.5.6",
|
||||||
"@tarojs/webpack5-runner": "^3.5.5",
|
"@tarojs/webpack5-runner": "3.5.6",
|
||||||
"@types/qs": "^6.9.7",
|
"@types/qs": "^6.9.7",
|
||||||
"@types/react": "^18.0.0",
|
"@types/react": "^18.0.0",
|
||||||
"@types/webpack-env": "^1.13.6",
|
"@types/webpack-env": "^1.13.6",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.15.1",
|
"@typescript-eslint/eslint-plugin": "^4.15.1",
|
||||||
"@typescript-eslint/parser": "^4.15.1",
|
"@typescript-eslint/parser": "^4.15.1",
|
||||||
"babel-preset-taro": "3.5.5",
|
"babel-preset-taro": "3.5.6",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
"eslint-config-taro": "3.5.5",
|
"eslint-config-taro": "3.5.6",
|
||||||
"eslint-plugin-import": "^2.12.0",
|
"eslint-plugin-import": "^2.12.0",
|
||||||
"eslint-plugin-react": "^7.8.2",
|
"eslint-plugin-react": "^7.8.2",
|
||||||
"eslint-plugin-react-hooks": "^4.2.0",
|
"eslint-plugin-react-hooks": "^4.2.0",
|
||||||
|
@ -26,7 +26,7 @@ export const IMG_CND_Prefix = CURRENT_ENV.includes('production') ? 'https://cdn.
|
|||||||
// export const IMG_CND_Prefix = CURRENT_ENV.includes('production') ? 'https://cdn.zzfzyc.com' : 'https://cdn.zzfzyc.com'
|
// export const IMG_CND_Prefix = CURRENT_ENV.includes('production') ? 'https://cdn.zzfzyc.com' : 'https://cdn.zzfzyc.com'
|
||||||
|
|
||||||
//在线支付图片baseUrl
|
//在线支付图片baseUrl
|
||||||
export const CAP_HTML_TO_IMAGE_BASE_URL = CURRENT_ENV.includes('production') ? 'https://www.zzfzyc.com' : 'https://test.zzfzyc.com'
|
export const CAP_HTML_TO_IMAGE_BASE_URL = CURRENT_CAP_HTML_TO_IMAGE_BASE_URL
|
||||||
// export const CAP_HTML_TO_IMAGE_BASE_URL = CURRENT_ENV.includes('production') ? 'https://www.zzfzyc.com' : 'http://192.168.1.127:8082'
|
// export const CAP_HTML_TO_IMAGE_BASE_URL = CURRENT_ENV.includes('production') ? 'https://www.zzfzyc.com' : 'http://192.168.1.127:8082'
|
||||||
|
|
||||||
// 上传图片视频
|
// 上传图片视频
|
||||||
@ -36,7 +36,7 @@ export const CDN_UPLOAD_IMG = `${UPLOAD_CDN_URL || ''}`
|
|||||||
export const WX_APPID = 'wx68d92d7cbf0b6963'
|
export const WX_APPID = 'wx68d92d7cbf0b6963'
|
||||||
|
|
||||||
//支付码单跳转链接
|
//支付码单跳转链接
|
||||||
export const PAY_H5_CODE_URL = CURRENT_ENV.includes('production') ? 'https://www.zzfzyc.com/cashier' : 'https://test.zzfzyc.com/cashier'
|
export const PAY_H5_CODE_URL = CURRENT_PAY_H5_CODE_URL
|
||||||
|
|
||||||
//场景值
|
//场景值
|
||||||
export const SCENE = {
|
export const SCENE = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user