duy 1 year ago
parent
commit
1c4636af55
2 changed files with 16 additions and 1 deletions
  1. 15 0
      src/api/modules/project/project.js
  2. 1 1
      src/config/index.json

+ 15 - 0
src/api/modules/project/project.js

@@ -0,0 +1,15 @@
+import { HcApi } from '../../request/index'
+
+export default {
+   
+    //新增
+    async add(form) {
+        return HcApi({
+            url: '/api/blade-attach/project/add',
+            method: 'post',
+            data: form,
+        }, false)
+    },
+
+
+}

+ 1 - 1
src/config/index.json

@@ -1,6 +1,6 @@
 {
     "version": "20230607160059",
-    "target": "http://192.168.0.102",
+    "target": "http://192.168.0.125",
     "vite": {
         "port": 5187,
         "host": "0.0.0.0"