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:
59
src/api/configChannel.ts
Normal file
59
src/api/configChannel.ts
Normal 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 || {}),
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user