chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -18,7 +18,7 @@ import { vi, describe, it, expect, beforeEach } from 'vitest';
import { passport } from '@coze-studio/api-schema';
import { passportApi } from '../index';
// 模拟 passport API
// Simulated passport API
vi.mock('@coze-studio/api-schema/passport', () => ({}));
vi.mock('@coze-studio/api-schema', () => ({
passport: {

View File

@@ -42,7 +42,7 @@ export const passportApi = {
updatePassword: async (params: { password: string; email: string }) => {
await passport.PassportWebEmailPasswordResetGet({ ...params, code: '' });
// 更新密码后,当前登录态失效,重置 store
// After updating the password, the current login state is invalid, reset the store
resetUserStore();
},

View File

@@ -40,5 +40,5 @@ export const checkLoginImpl = async () => {
export const checkLogin = () => checkLoginBase(checkLoginImpl);
// 开源版本不支持渠道授权,暂无实现
// The open-source version does not support channel authorization and has not been implemented yet.
export const connector2Redirect: Connector2Redirect = () => undefined;