From 87e28c4bc7fe04eb14629482e97541d183c1d067 Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期六, 18 五月 2024 16:10:34 +0800
Subject: [PATCH] 修改完除了用户管理的其他报错

---
 ruoyi-ui/src/api/self/index.js |   23 ++++++++++++++++++++---
 1 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/ruoyi-ui/src/api/self/index.js b/ruoyi-ui/src/api/self/index.js
index b2617b0..e29e54f 100644
--- a/ruoyi-ui/src/api/self/index.js
+++ b/ruoyi-ui/src/api/self/index.js
@@ -140,7 +140,14 @@
     method: 'delete',
   })
 }
-
+//璇佷欢绫诲瀷鏁版嵁
+export function listType(query) {
+  return request({
+    url: '/zCertificate/type',
+    method: 'get',
+    params: query
+  })
+}
 // 鏌ヨ鍑哄浗鎯呭喌
 export function getAbroadList() {
   return request({
@@ -206,11 +213,21 @@
 export function addAutobiography(data)
 {
   return request({
-    url: '/zAutobiography',
+    url: '/zAutobiography/',
     method: 'post',
     data: data
   })
 }
+
+//鍒犻櫎涓汉鑷紶
+export function delAutobiography(ids)
+{
+  return request({
+    url: '/zAutobiography/' +ids ,
+    method: 'delete',
+  })
+}
+
 
 //鎷垮埌涓汉鑷紶
 export function getCategory()
@@ -225,7 +242,7 @@
 //涓婁紶鏂囦欢
 export function uploadPic(data) {
   return request({
-    url: '/common/upload',
+    url: '/common/uploads',
     method: 'post',
     data: data
   })

--
Gitblit v1.9.1