From 7a8f1cb7741436c43fc5859707da5041d6648953 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期一, 21 七月 2025 17:21:41 +0800 Subject: [PATCH] - --- src/api/mine.ts | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/api/mine.ts b/src/api/mine.ts new file mode 100644 index 0000000..84ee178 --- /dev/null +++ b/src/api/mine.ts @@ -0,0 +1,23 @@ +/** + * 锛堜笉寤鸿鍐欐垚 request.post(xxx)锛屽洜涓鸿繖鏍� post 鏃讹紝鏃犳硶 params 涓� data 鍚屾椂浼犲弬锛� + * + * 涓汉涓績api鎺ュ彛闆嗗悎 + * @method login 鐧诲綍 + */ + +import { http } from "@/utils/http"; +import { baseUrlApi } from "./util"; +type Result = { + success: boolean; + data: Array<any>; +}; + +// 鑾峰彇涓汉涓績鏁版嵁 +export const cusExtendInfo = (data?: object) => { + return http.request("post", baseUrlApi("/api/customer/cusExtendInfo"), { data }); +}; + +// 淇敼涓汉涓績鏁版嵁 +export const changeCusExtend = (data?: object) => { + return http.request("post", baseUrlApi("/api/customer/changeCusExtend"), { data }); +}; -- Gitblit v1.9.1