From 8e2a42e4a2da78f9cda9fa3e7732a0ef72f0c906 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 12 Nov 2021 09:29:02 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises

---
 src/api/social/social.js |   95 ++++++++++++++++++++++++++++++-----------------
 1 files changed, 60 insertions(+), 35 deletions(-)

diff --git a/src/api/social/social.js b/src/api/social/social.js
index e00a1a9..890e730 100644
--- a/src/api/social/social.js
+++ b/src/api/social/social.js
@@ -1,50 +1,75 @@
 import request from '@/router/axios';
 
+
+export const getListJurisdiction = (current, size, params) => {
+    return request({
+        url: '/api/social/page',
+        method: 'get',
+        params: {
+            ...params,
+            current,
+            size,
+        }
+    })
+}
+
+
+
+export const getuseList = (id) => {
+    return request({
+        url: '/api/blade-user/detail',
+        method: 'get',
+        params: {
+            id
+        }
+    })
+}
+
+
 export const getList = (current, size, params) => {
-  return request({
-    url: '/api/social/list',
-    method: 'get',
-    params: {
-      ...params,
-      current,
-      size,
-    }
-  })
+    return request({
+        url: '/api/social/list',
+        method: 'get',
+        params: {
+            ...params,
+            current,
+            size,
+        }
+    })
 }
 
 export const getDetail = (id) => {
-  return request({
-    url: '/api/social/detail',
-    method: 'get',
-    params: {
-      id
-    }
-  })
+    return request({
+        url: '/api/social/detail',
+        method: 'get',
+        params: {
+            id
+        }
+    })
 }
 
 export const remove = (ids) => {
-  return request({
-    url: '/api/social/remove',
-    method: 'post',
-    params: {
-      ids,
-    }
-  })
+    return request({
+        url: '/api/social/remove',
+        method: 'post',
+        params: {
+            ids,
+        }
+    })
 }
 
 export const add = (row) => {
-  return request({
-    url: '/api/social/submit',
-    method: 'post',
-    data: row
-  })
+    return request({
+        url: '/api/social/save',
+        method: 'post',
+        data: row
+    })
 }
 
 export const update = (row) => {
-  return request({
-    url: '/api/social/submit',
-    method: 'post',
-    data: row
-  })
-}
-
+    return request({
+        url: '/api/social/submit',
+        method: 'post',
+        data: row
+    })
+}
\ No newline at end of file

--
Gitblit v1.9.3