mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 17:49:19 +08:00
refactor: 调整api和页面组件位置
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user