🎈 perf: 优化全局变量

This commit is contained in:
2022-12-08 22:37:43 +08:00
parent af3eeaf9a1
commit 3e0fd03638
6 changed files with 16 additions and 5 deletions
+3 -3
View File
@@ -23,10 +23,10 @@ export const GET_UPLOAD_SIGN = '/upyun/getsign' // 请求签名 url
export const UPLOAD_CDN_URL = 'https://v0.api.upyun.com/'
// cdn
export const IMG_CND_Prefix = CURRENT_ENV.includes('production') ? 'https://cdn.zzfzyc.com' : 'https://test.cdn.zzfzyc.com'
export const IMG_CND_Prefix = CURRENT_IMG_CND_Prefix
// 在线支付图片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 CDN_UPLOAD_IMG = `${UPLOAD_CDN_URL || ''}`
@@ -48,4 +48,4 @@ export const SCENE = {
SearchScene: 0, // 商城面料搜索
}
// 支付码单跳转链接
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