From 6594dffd868ddb7c3fba888bbb5151c13d8ad3b3 Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期三, 17 五月 2023 17:24:28 +0800
Subject: [PATCH] Merge branch 'master' of http://47.93.189.255:8099/r/zhangshi_app_web

---
 ruoyi-ui/src/api/self/index.js |   37 ++++++++++++++++++++++++++++++++-----
 1 files changed, 32 insertions(+), 5 deletions(-)

diff --git a/ruoyi-ui/src/api/self/index.js b/ruoyi-ui/src/api/self/index.js
index 7c2c640..58824f2 100644
--- a/ruoyi-ui/src/api/self/index.js
+++ b/ruoyi-ui/src/api/self/index.js
@@ -19,9 +19,9 @@
 }
 
 // 鍒犻櫎涓汉淇℃伅
-export function delIndividual(Ids) {
+export function delIndividual(ids) {
   return request({
-    url: '/self/user' ,
+    url: '/self/user/' +ids,
     method: 'delete'
   })
 }
@@ -49,7 +49,6 @@
 
 //鏌ヨ鎵�鏈変釜浜虹粡鍘�
 export function listExperience(query) {
-  
   return request({
     url: '/zExperience/all',
     method: 'get',
@@ -80,7 +79,7 @@
 export function delExperience(ids)
 {
   return request({
-    url: '/zExperience' +ids,
+    url: '/zExperience/' +ids,
     method: 'delete',
   })
 }
@@ -116,7 +115,7 @@
 export function delCertificate(ids)
 {
   return request({
-    url: '/zCertificate' +ids,
+    url: '/zCertificate/' +ids,
     method: 'delete',
   })
 }
@@ -191,3 +190,31 @@
     data: data
   })
 }
+
+//鎷垮埌涓汉鑷紶
+export function getCategory()
+{
+  return request({
+    url: '/zDict/byId',
+    method: 'get',
+    params: {'id':23}
+  })
+}
+
+//涓婁紶鏂囦欢
+export function uploadPic(data) {
+  return request({
+    url: '/common/upload',
+    method: 'post',
+    data: data
+  })
+}
+//涓嬭浇鏂囦欢
+export function download(data) {
+  return request({
+    url: '/common/downLoadFile',
+    method: 'get',
+    params: data,
+    responseType: 'blob'
+  })
+}

--
Gitblit v1.9.1