From c3e5497b9691f948253d41efde2fd5f7978ff2a7 Mon Sep 17 00:00:00 2001
From: 张钢 <floatgang@163.com>
Date: 星期六, 24 八月 2024 17:13:55 +0800
Subject: [PATCH] 修正了拼写错误

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

diff --git a/ruoyi-ui/src/api/self/index.js b/ruoyi-ui/src/api/self/index.js
index b2617b0..804a6c9 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
   })
@@ -239,3 +256,4 @@
     responseType: 'blob'
   })
 }
+

--
Gitblit v1.9.1