From 2b3715f1610b4176d7abe33e34542389cef61853 Mon Sep 17 00:00:00 2001 From: zhuguifei <zhuguifei@zhuguifeideiMac.local> Date: 星期六, 12 四月 2025 17:12:22 +0800 Subject: [PATCH] Merge branch 'main' of http://lanpucloud.cn:1111/r/eims-master --- eims-ui-mobile/src/service/index/foo.ts | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/eims-ui-mobile/src/service/index/foo.ts b/eims-ui-mobile/src/service/index/foo.ts new file mode 100644 index 0000000..acf5aa8 --- /dev/null +++ b/eims-ui-mobile/src/service/index/foo.ts @@ -0,0 +1,15 @@ +import { http } from '@/utils/http' +export interface IFooItem { + id: string + name: string +} + +/** GET 璇锋眰 */ +export const getFooAPI = (name: string) => { + return http.get<IFooItem>('/foo', { name }) +} + +/** POST 璇锋眰 */ +export const postFooAPI = (name: string) => { + return http.post<IFooItem>('/foo', { name }, { name }) +} -- Gitblit v1.9.3