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",