From 1220f5ca98b10b735a47c37a81fbfc554b01e2fe Mon Sep 17 00:00:00 2001
From: liriming <1343021927@qq.com>
Date: 星期一, 20 一月 2025 14:41:35 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

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

diff --git a/src/api/model/mpk/mpk.ts b/src/api/model/mpk/mpk.ts
index d522b30..dc2782f 100644
--- a/src/api/model/mpk/mpk.ts
+++ b/src/api/model/mpk/mpk.ts
@@ -39,9 +39,13 @@
 }
 
 export const modelRun = (params) => {
-  return request.post({ url: '/model/mpk/api/run', data: params })
+  return request.post({ url: '/model/mpk/api/test', data: params })
 }
 
-export const list = () => {
-  return request.get({ url: '/model/mpk/file/list'})
+export const list = (params) => {
+  return request.get({ url: '/model/mpk/file/list',  params})
+}
+
+export const publish = (params) => {
+  return request.post({ url: '/model/mpk/file/publish', data: params})
 }

--
Gitblit v1.9.3