增加游戏大厅

This commit is contained in:
2023-10-18 18:41:09 +08:00
parent 998391413c
commit 0227f87216
8 changed files with 45 additions and 38 deletions

View File

@@ -3,5 +3,8 @@ import Taro from "@tarojs/taro";
export const app = {
API_URL: () => `${process.env.TARO_APP_API}`,
API_WS: () => `${process.env.TARO_APP_WS}${Taro.getStorageSync("uid")}`,
API_WS: () =>
`${process.env.TARO_APP_WS}?uid=${Taro.getStorageSync("uid")}&gema_id=${
Taro.getStorageSync("gameItem").ID
}`,
};