feat(测试): 自动测试用删除账号接口

This commit is contained in:
luying
2022-11-08 17:42:25 +08:00
parent f92d1336ac
commit 5d8911771b
7 changed files with 35 additions and 6 deletions
+5
View File
@@ -806,4 +806,9 @@ export function getGachaRemainFloor(gachaId: number, userFloor: Floor[]) {
}
}
return 0
}
export function isDevelopEnv(env: string) {
const envs = ['development', 'monitor', 'alpha', 'dev'];
return envs.indexOf(env) != -1;
}