浏览代码

接口统一

zhengnaiwen_citu 2 周之前
父节点
当前提交
c4c6c1eaa7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/api/dataGovernance.js

+ 2 - 2
src/api/dataGovernance.js

@@ -123,7 +123,7 @@ const dataModel = {
   },
   // 查看模型图谱
   getModelGraph: (param) => {
-    return http.post('/model/graph/all', param)
+    return http.post('/model/data/model/graph/all', param)
   },
   // 更新模型
   updateModel: (param) => {
@@ -135,7 +135,7 @@ const dataModel = {
   },
   // 通过ddl保存模型
   savePythonCode: (param) => {
-    return http.post('/model/python', param)
+    return http.post('/model/data/model/python', param)
   }
 }