From b8de520fa696d8a95393aa3ff544c5a6f5c36001 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期三, 30 九月 2026 15:33:41 +0800
Subject: [PATCH] 宁夏万通需求:出库单行支持主/辅单位录入;物料型号维护;考勤节假日配置时间段;设备批量删除;质检导出按筛选条件
---
src/api/im/channel/material/index.ts | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/src/api/im/channel/material/index.ts b/src/api/im/channel/material/index.ts
new file mode 100644
index 0000000..9f0338f
--- /dev/null
+++ b/src/api/im/channel/material/index.ts
@@ -0,0 +1,24 @@
+import { requestClient } from '#/api/request';
+
+export namespace ImChannelMaterialApi {
+ /** 鐢ㄦ埛绔兘鐪嬪埌鐨勯閬撶礌鏉愯鎯� */
+ export interface Material {
+ id: number;
+ channelId: number;
+ type: number;
+ title: string;
+ coverUrl?: string;
+ summary?: string;
+ content?: string;
+ url?: string;
+ }
+}
+
+
+/** 鑾峰彇棰戦亾绱犳潗璇︽儏锛涚敤浜庡鎴风鐐瑰嚮鍥炬枃鍗$墖娓叉煋璇︽儏椤� */
+export function getChannelMaterial(id: number) {
+ return requestClient.get<ImChannelMaterialApi.Material>(
+ '/im/channel/material/get',
+ { params: { id } },
+ );
+}
--
Gitblit v1.9.3