From 0c184a7a974f83fae30d925a3b3ed30dcdb7f8d2 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期三, 06 十一月 2024 09:34:39 +0800
Subject: [PATCH] chart

---
 src/api/model/mpk/mpk.ts |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/api/model/mpk/mpk.ts b/src/api/model/mpk/mpk.ts
index d522b30..653cf8b 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 publish = (params) => {
+  return request.post({ url: '/model/mpk/file/publish', data: params})
+}

--
Gitblit v1.9.3