From 9e9653c3fcc3ccd3731533535fa338d67c4dd485 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 04 六月 2024 17:42:52 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit

---
 h5/api/staff.js |   44 +++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 41 insertions(+), 3 deletions(-)

diff --git a/h5/api/staff.js b/h5/api/staff.js
index 69a4543..093a0b4 100644
--- a/h5/api/staff.js
+++ b/h5/api/staff.js
@@ -3,20 +3,27 @@
 // login
 export const loginPost = (data) => {
   return http({
-    url: '/loginH5',
+    url: 'loginH5',
     method: 'post',
     data
   })
 }
 export const loginCaptcha = () => {
   return http({
-    url: '/captcha',
+    url: 'captcha',
     method: 'get'
+  })
+}
+// 鍒锋柊token
+export const refreshToken = () => {
+  return http({
+    url: 'refreshtoken',
+    method: 'post'
   })
 }
 export const getUserInfo = () => {
   return http({
-    url: '/getUserInfo',
+    url: 'getUserInfo',
     method: 'get'
   })
 }
@@ -135,4 +142,35 @@
     method: 'post',
     data
   })
+}
+// 鏌ヨ杞﹁締 娲捐溅璁板綍 璇︽儏
+export const carUseBookDetail = (id) => {
+  return http({
+    url: 'visitsAdmin/cloudService/business/carUseBook/'+id,
+    method: 'get'
+  })
+}
+// 鏌ヨ杞﹁締 娲捐溅璁板綍 瀹℃壒
+export const carUseBookAppr = (data) => {
+  return http({
+    url: 'visitsAdmin/cloudService/business/approve/approved',
+    method: 'post',
+    data
+  })
+}
+// 鏌ヨ杞﹁締 娲捐溅璁板綍 鎾ら攢鐢宠
+export const carUseBookBack = (data) => {
+  return http({
+    url: 'visitsAdmin/cloudService/business/carUseBook/revoke',
+    method: 'get',
+    data
+  })
+}
+// 鏌ヨ杞﹁締 鍙告満鍒楄〃
+export const driveListPost = (data) => {
+  return http({
+    url: 'visitsAdmin/cloudService/business/member/driveList',
+    method: 'post',
+    data
+  })
 }
\ No newline at end of file

--
Gitblit v1.9.3