From 98cd8e67c95a513f142d3201af317a63c1735105 Mon Sep 17 00:00:00 2001 From: YuanHuakk <1751826683@qq.com> Date: Sat, 27 Jan 2024 14:21:54 +0800 Subject: [PATCH] =?UTF-8?q?build(custom):=20=E6=96=B0=E5=A2=9E=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=E6=AD=A3=E5=BC=8F=E6=9C=8Dapi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 42 ++++++++++++++++++------------------------ .env.one | 6 ------ .env.production | 14 ++++++++++++++ .env.test | 37 +++++++++++++++++-------------------- .env.tow | 6 ------ package.json | 2 -- 6 files changed, 49 insertions(+), 58 deletions(-) delete mode 100644 .env.one create mode 100644 .env.production delete mode 100644 .env.tow diff --git a/.env.development b/.env.development index 34c8454..db58180 100644 --- a/.env.development +++ b/.env.development @@ -1,24 +1,18 @@ -# 配置文档参考 https://taro-docs.jd.com/docs/next/env-mode-config -# TARO_APP_ID="开发环境下的小程序appid" - - -TARO_APP_API = 'https://game.wanzhuanyongcheng.cn' - -TARO_APP_WS = 'wss://game.wanzhuanyongcheng.cn/dice/home' - -TARO_APP_HOME = 'https://test.wanzhuanyongcheng.cn/app/game' - -# 气球 - -TARO_APP_BALLOON_WS = 'wss://balloon.wanzhuanyongcheng.cn/balloon/home' - -TARO_APP_BALLOON_API = 'https://balloon.wanzhuanyongcheng.cn/balloon' - - -# 大转盘 -TARO_APP_TURNTABLE_WS = 'wss://game2.wanzhuanyongcheng.cn/turntable/home' - -TARO_APP_TURNTABLE_API = 'https://game2.wanzhuanyongcheng.cn/turntable' - -# 澳拾 -TARO_APP_AOSHI_API = 'https://game3.wanzhuanyongcheng.cn' +# 配置文档参考 https://taro-docs.jd.com/docs/next/env-mode-config +# TARO_APP_ID="开发环境下的小程序appid" + + +TARO_APP_API = 'https://game.wanzhuanyongcheng.cn' + +TARO_APP_WS = 'wss://game.wanzhuanyongcheng.cn/dice/home' + +TARO_APP_HOME = 'https://test.wanzhuanyongcheng.cn/app/game' + + +# 大转盘 +TARO_APP_TURNTABLE_WS = 'wss://game2.wanzhuanyongcheng.cn/turntable/home' + +TARO_APP_TURNTABLE_API = 'https://game2.wanzhuanyongcheng.cn/turntable' + +# 澳拾 +TARO_APP_AOSHI_API = 'https://game3.wanzhuanyongcheng.cn' diff --git a/.env.one b/.env.one deleted file mode 100644 index c3c2e38..0000000 --- a/.env.one +++ /dev/null @@ -1,6 +0,0 @@ - -TARO_APP_API = 'https://www.jdt168.com/dice' - -TARO_APP_WS = 'wss://www.jdt168.com/dice/home' - -TARO_APP_HOME = 'https://www.wanzhuanyongcheng.cn/app/game' diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..0f114dd --- /dev/null +++ b/.env.production @@ -0,0 +1,14 @@ + +TARO_APP_API = 'https://www.jdt168.com/dice' + +TARO_APP_WS = 'wss://www.jdt168.com/dice/home' + +TARO_APP_HOME = 'https://www.wanzhuanyongcheng.cn/app/game' + +# 大转盘 +TARO_APP_TURNTABLE_WS = 'wss://turntable.jdt168.com/turntable/home' + +TARO_APP_TURNTABLE_API = 'https://turntable.jdt168.com/turntable' + +# 澳拾 +TARO_APP_AOSHI_API = 'https://australia.jdt168.com' \ No newline at end of file diff --git a/.env.test b/.env.test index 7223b62..c54c45e 100644 --- a/.env.test +++ b/.env.test @@ -1,20 +1,17 @@ -# TARO_APP_ID="测试环境下的小程序appid" - - -TARO_APP_API = 'https://game.wanzhuanyongcheng.cn' - -TARO_APP_WS = 'wss://game.wanzhuanyongcheng.cn/dice/home' - -TARO_APP_HOME = 'https://test.wanzhuanyongcheng.cn/app/game' - -TARO_APP_BALLOON_WS = 'wss://balloon.wanzhuanyongcheng.cn/balloon/home' - -TARO_APP_BALLOON_API = 'https://balloon.wanzhuanyongcheng.cn/balloon' - -# 大转盘 -TARO_APP_TURNTABLE_WS = 'wss://game2.wanzhuanyongcheng.cn/turntable/home' - -TARO_APP_TURNTABLE_API = 'https://game2.wanzhuanyongcheng.cn/turntable' - -# 澳拾 -TARO_APP_AOSHI_API = 'https://game3.wanzhuanyongcheng.cn' +# TARO_APP_ID="测试环境下的小程序appid" + + +TARO_APP_API = 'https://game.wanzhuanyongcheng.cn' + +TARO_APP_WS = 'wss://game.wanzhuanyongcheng.cn/dice/home' + +TARO_APP_HOME = 'https://test.wanzhuanyongcheng.cn/app/game' + + +# 大转盘 +TARO_APP_TURNTABLE_WS = 'wss://game2.wanzhuanyongcheng.cn/turntable/home' + +TARO_APP_TURNTABLE_API = 'https://game2.wanzhuanyongcheng.cn/turntable' + +# 澳拾 +TARO_APP_AOSHI_API = 'https://game3.wanzhuanyongcheng.cn' diff --git a/.env.tow b/.env.tow deleted file mode 100644 index 8338996..0000000 --- a/.env.tow +++ /dev/null @@ -1,6 +0,0 @@ - -TARO_APP_API = 'https://betting2.wanzhuanyongcheng.com/dice' - -TARO_APP_WS = 'wss://betting2.wanzhuanyongcheng.com/dice/home' - -TARO_APP_HOME = 'https://betting2.wanzhuanyongcheng.com/app/game' diff --git a/package.json b/package.json index 48d2213..edb472d 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,6 @@ "build:tt": "taro build --type tt", "build:h5": "taro build --type h5", "build:h5:test": "taro build --type h5 --mode test", - "build:one": "taro build --type h5 --mode one", - "build:tow": "taro build --type h5 --mode tow", "build:rn": "taro build --type rn", "build:qq": "taro build --type qq", "build:jd": "taro build --type jd",