chore: restructure project and add i18n support

- Reorganize project structure with new electron and shared directories
- Add comprehensive i18n support with Chinese, English, and Japanese locales
- Update build configurations and TypeScript paths for new structure
- Add various UI components including chat interface and task management
- Include Windows release binaries and localization files
- Update dependencies and fix import paths throughout the codebase
This commit is contained in:
duanshuwen
2026-04-06 14:39:06 +08:00
parent e76b034d50
commit 6615d11dd6
311 changed files with 823682 additions and 4460 deletions

59
src/api/configChannel.ts Normal file
View File

@@ -0,0 +1,59 @@
/* eslint-disable */
// @ts-ignore
import request from '@utils/request';
import * as API from './types';
/** 绑定渠道账号 绑定渠道账号绑定渠道账号 POST /hotelStaff/configChannel/binding */
export function hotelStaffConfigChannelBindingUsingPost({
body,
options,
}: {
body: API.PcConfigChannel;
options?: { [key: string]: unknown };
}) {
return request<API.RBoolean>('/hotelStaff/configChannel/binding', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** 创建账号渠道 创建账号渠道创建账号渠道 POST /hotelStaff/configChannel/createPcConfigChannel */
export function hotelStaffConfigChannelCreatePcConfigChannelUsingPost({
body,
options,
}: {
body: API.PcConfig;
options?: { [key: string]: unknown };
}) {
return request<API.RBoolean>(
'/hotelStaff/configChannel/createPcConfigChannel',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
}
);
}
/** 查询配置与渠道关系列表 查询配置与渠道关系列表查询配置与渠道关系列表 POST /hotelStaff/configChannel/pageList */
export function hotelStaffConfigChannelPageListUsingPost({
options,
}: {
options?: { [key: string]: unknown };
}) {
return request<API.RListPcConfigChannel>(
'/hotelStaff/configChannel/pageList',
{
method: 'POST',
...(options || {}),
}
);
}