Refactor: Standardize naming convention to camelCase (#14079)

### What problem does this PR solve?

Refactor: Standardize naming convention to camelCase

### Type of change

- [x] Refactoring
This commit is contained in:
chanx
2026-04-13 21:07:07 +08:00
committed by GitHub
parent 9a38af7cbf
commit 6ffa566ec3
13 changed files with 200 additions and 196 deletions

View File

@@ -50,7 +50,7 @@ export const useFetchUserInfo = (): ResponseGetType<IUserInfo> => {
initialData: {},
gcTime: 0,
queryFn: async () => {
const { data } = await userService.user_info();
const { data } = await userService.userInfo();
if (data.code === 0) {
const targetLng =
@@ -79,7 +79,7 @@ export const useFetchTenantInfo = (
initialData: {},
gcTime: 0,
queryFn: async () => {
const { data: res } = await userService.get_tenant_info();
const { data: res } = await userService.getTenantInfo();
if (res.code === 0) {
// llm_id is chat_id
// asr_id is speech2txt