From 3633cf70a3d835da15d27a91e7f8f8fd15dbcb35 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 20 三月 2025 10:59:21 +0800 Subject: [PATCH] fix: 三期需求 --- apps/taro/config/prod.js | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/apps/taro/config/prod.js b/apps/taro/config/prod.js index a026528..02b1b29 100644 --- a/apps/taro/config/prod.js +++ b/apps/taro/config/prod.js @@ -1,17 +1,23 @@ +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"', + }, mini: {}, h5: { + output: { + path: path.resolve(__dirname, '..', `dist/h5-prod`), + }, /** * WebpackChain 鎻掍欢閰嶇疆 * @docs https://github.com/neutrinojs/webpack-chain -- Gitblit v1.9.1