更改SaaS

This commit is contained in:
Joxp 2024-10-22 22:43:13 +08:00
parent d2519b65ac
commit 8ea4ee9f46
3 changed files with 7 additions and 15 deletions

View File

@ -113,12 +113,6 @@ export function AuthPage() {
type="primary"
onClick={goChat}
/>
<IconButton
text={Locale.Auth.SaasTips}
onClick={() => {
goSaas();
}}
/>
</div>
</div>
);

View File

@ -501,5 +501,5 @@ export const PLUGINS = [
{ name: "Search Chat", path: Path.SearchChat },
];
export const SAAS_CHAT_URL = "https://nextchat.dev/chat";
export const SAAS_CHAT_UTM_URL = "https://nextchat.dev/chat?utm=github";
export const SAAS_CHAT_URL = "https://bot.howlike.cn/";
export const SAAS_CHAT_UTM_URL = "https://bot.howlike.cn/";

View File

@ -9,12 +9,11 @@ const cn = {
Error: {
Unauthorized: isApp
? `😆 对话遇到了一些问题,不用慌:
\\ 1 [ 🚀](${SAAS_CHAT_UTM_URL})
\\ 2 OpenAI [](/#/settings) `
\\ 1 [ 🚀](${SAAS_CHAT_UTM_URL})
\\ 2 [](/#/settings) `
: `😆 对话遇到了一些问题,不用慌:
\ 1 [ 🚀](${SAAS_CHAT_UTM_URL})
\ 2 使[](/#/auth)访 🔑
\ 3 OpenAI [](/#/settings)
\ 1 [ 🚀](${SAAS_CHAT_UTM_URL})
\ 2 [](/#/auth)访 🔑
`,
},
Auth: {
@ -25,9 +24,8 @@ const cn = {
Input: "在此处填写访问码",
Confirm: "确认",
Later: "稍后再说",
SaasTips: "配置太麻烦,想要立即使用",
TopTips:
"🥳 NextChat AI 首发优惠,立刻解锁 OpenAI o1, GPT-4o, Claude-3.5 等最新大模型",
"",
},
ChatItem: {
ChatItemCount: (count: number) => `${count} 条对话`,