From ee010e7160f0a4dee5e0c2fde55d488f4f2f9788 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 03 六月 2024 09:51:13 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
h5/api/staff.js | 20 +++++++++++++++++---
1 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/h5/api/staff.js b/h5/api/staff.js
index 69a4543..456d6f8 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,11 @@
method: 'post',
data
})
+}
+// 鏌ヨ杞﹁締 娲捐溅璁板綍 璇︽儏
+export const carUseBookDetail = (id) => {
+ return http({
+ url: 'visitsAdmin/cloudService/business/carUseBook/'+id,
+ method: 'get'
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3