refactor: 调整api和页面组件位置

This commit is contained in:
2026-08-14 15:21:11 +08:00
parent c51e13f4b4
commit 340ac54026
268 changed files with 293 additions and 929 deletions
@@ -0,0 +1,12 @@
import type { PlatformVO } from './types';
import { requestClient } from '#/api/request';
/**
* 平台静态字典 API(无 CRUD)。
*/
/** 获取全部预置电商平台字典 */
export async function getPlatformListApi() {
return requestClient.get<PlatformVO.Meta[]>('/ec/platform/list');
}
@@ -0,0 +1,2 @@
export * from './apis';
export * from './types';
@@ -0,0 +1,2 @@
export * from './types.dto';
export * from './types.vo';
@@ -0,0 +1,2 @@
/** 平台模块已无写操作 DTO,保留空命名空间供扩展 */
export namespace PlatformDTO {}
@@ -0,0 +1,8 @@
export namespace PlatformVO {
/** 平台静态字典项(code/label/sortOrder) */
export interface Meta {
code: string;
label: string;
sortOrder: number;
}
}