build(custom): 新增游戏正式服api

This commit is contained in:
2024-01-27 14:21:54 +08:00
parent 6550e80e3f
commit 98cd8e67c9
6 changed files with 49 additions and 58 deletions

View File

@@ -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'

View File

@@ -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'

14
.env.production Normal file
View File

@@ -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'

View File

@@ -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'

View File

@@ -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'

View File

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