From 7339b8a9ccf09e6262cb71ac6c9b724cdfa6fe22 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期五, 15 八月 2025 16:43:32 +0800
Subject: [PATCH] 'pdf预览'’’

---
 src/api/mine.ts |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/api/mine.ts b/src/api/mine.ts
index f18be93..459ba8d 100644
--- a/src/api/mine.ts
+++ b/src/api/mine.ts
@@ -8,10 +8,10 @@
 import { http } from "@/utils/http";
 import { baseUrlApi } from "./util";
 import type { Result } from "./types";
-
+import type { ResponseEnterprise } from "@/utils/auth";
 // 鑾峰彇涓汉涓績鏁版嵁
 export const cusExtendInfo = (data?: object) => {
-  return http.request<Result>(
+  return http.request<ResponseEnterprise>(
     "post",
     baseUrlApi("/api/customer/cusExtendInfo"),
     {
@@ -22,7 +22,11 @@
 
 // 淇敼涓汉涓績鏁版嵁
 export const changeCusExtend = (data?: object) => {
-  return http.request("post", baseUrlApi("/api/customer/changeCusExtend"), {
-    data
-  });
+  return http.request<Result>(
+    "post",
+    baseUrlApi("/api/customer/changeCusExtend"),
+    {
+      data
+    }
+  );
 };

--
Gitblit v1.9.1