From e372854c71bc97d162452cc4b3f5cfa586da50a8 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 22 五月 2025 17:06:31 +0800 Subject: [PATCH] feat: UI --- apps/taro/config/prod.js | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/apps/taro/config/prod.js b/apps/taro/config/prod.js index 4e89645..dfeba17 100644 --- a/apps/taro/config/prod.js +++ b/apps/taro/config/prod.js @@ -1,16 +1,24 @@ +const path = require('path'); + module.exports = { env: { NODE_ENV: '"production"', - BASE_URL: '"https://api.81812333.com"', - BASE_URL_JX: '"https://api.jx818.com"', - - OSS_URL: '"https://parkmanagement.oss-cn-hangzhou.aliyuncs.com"', + BASE_URL: '"https://jfapi.81812333.com"', + BASE_URL_H5: '"https://jfapi.81812333.com"', + BASE_URL_JX: '"https://jfapi.81812333.com"', WEMAP_KEY: 'DYRBZ-ZGPCF-X3OJN-N2AA3-JWUCE-HEBXJ', + WXPayAppId: '"wxf940ff1d35a98493"', }, - defineConstants: {}, + defineConstants: { + OSS_URL: '"https://parkmanagement.oss-cn-hangzhou.aliyuncs.com"', + CLIENT_ORIGIN: '"https://jf.81812333.com"', + }, mini: {}, h5: { + output: { + path: path.resolve(__dirname, '..', `dist/h5-prod`), + }, /** * WebpackChain 鎻掍欢閰嶇疆 * @docs https://github.com/neutrinojs/webpack-chain -- Gitblit v1.9.1