From c02e7a8fe42de2a5796e95e573f9e6b6735e4d0d Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 25 三月 2025 17:06:43 +0800 Subject: [PATCH] fix: 四期需求 --- apps/taro/config/prod.js | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/apps/taro/config/prod.js b/apps/taro/config/prod.js index a026528..7f97930 100644 --- a/apps/taro/config/prod.js +++ b/apps/taro/config/prod.js @@ -1,17 +1,24 @@ +const path = require('path'); + module.exports = { env: { NODE_ENV: '"production"', BASE_URL: '"https://api.81812333.com"', - BASE_URL_H5: '"/"', + BASE_URL_H5: '"https://api.81812333.com"', BASE_URL_JX: '"https://api.jx818.com"', - OSS_URL: '"https://parkmanagement.oss-cn-hangzhou.aliyuncs.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