From 2c5e4638f84676fa1e3949a62212d2a4a97e784a Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期四, 19 六月 2025 15:33:33 +0800
Subject: [PATCH] 转炉大模型功能完善

---
 src/api/model/mpk/project.ts |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/api/model/mpk/project.ts b/src/api/model/mpk/project.ts
index 514b05b..06da4bf 100644
--- a/src/api/model/mpk/project.ts
+++ b/src/api/model/mpk/project.ts
@@ -1,6 +1,6 @@
 import request from '@/config/axios'
 
-export const getPage = async (params: PageParam) => {
+export const getPage = async (params) => {
   return await request.get({ url: '/model/mpk/project/page', params })
 }
 
@@ -21,13 +21,14 @@
 }
 
 export const packageProject = (params) => {
-  return request.download({ url: '/model/mpk/file/packageModel', params })
+  // 超时时间十分钟
+  return request.download({ url: '/model/mpk/file/packageModel', params, timeout: 10 * 60 * 1000 })
 }
 
 export const list = () => {
   return request.get({ url: '/model/mpk/project/list'})
 }
 
-export const getProjectModel = async (params: PageParam) => {
+export const getProjectModel = async (params) => {
   return await request.get({ url: '/model/mpk/project/getProjectModel', params })
 }

--
Gitblit v1.9.3