From 1f375577b9e5d6e89aa4d70c526db88eeb95c9a0 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期四, 16 一月 2025 14:41:53 +0800
Subject: [PATCH] 原子指标输入验证

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

diff --git a/src/api/model/mpk/mpk.ts b/src/api/model/mpk/mpk.ts
index 8ed80db..dc2782f 100644
--- a/src/api/model/mpk/mpk.ts
+++ b/src/api/model/mpk/mpk.ts
@@ -39,11 +39,11 @@
 }
 
 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) => {

--
Gitblit v1.9.3