fix(env): fix

This commit is contained in:
zhangheng
2026-03-16 18:00:28 +08:00
parent a55a0bfbc5
commit 8776d2ea6f
4 changed files with 10 additions and 6 deletions

View File

@@ -4,8 +4,10 @@ import { Login } from "./types"
const BASE_PATH =
process.env.NEXT_PUBLIC_ENV === "production"
? "https://label.soft.cowarobot.com"
: "https://label.softtest.cowarobot.com"
? "https://label.cowarobot.com"
: process.env.NEXT_PUBLIC_ENV === "staging"
? "https://label.softtest.cowarobot.com"
: "https://label.softtest.cowarobot.com"
// 获取验证码
export const getVerifyCode = (params: { phone: string }) => {