From 6ebeddfe87542e4b3abfbe1adeb9187204f63ba8 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 07 七月 2026 13:47:24 +0800
Subject: [PATCH] 新增功能
---
bicycle/utils/http.api.js | 36 +++++++++++++++++++++++++++++++++++-
1 files changed, 35 insertions(+), 1 deletions(-)
diff --git a/bicycle/utils/http.api.js b/bicycle/utils/http.api.js
index b7d98f5..d857c82 100644
--- a/bicycle/utils/http.api.js
+++ b/bicycle/utils/http.api.js
@@ -34,7 +34,24 @@
let backElecBike = (data = {}) => uni.$u.http.post('web/business/backElecBike', data) // 鐢佃溅绔欑偣杩樿溅
let pauseElecBike = (data = {}) => uni.$u.http.post('web/business/pauseElecBike', data) // 鐢佃溅涓存椂鍋滆溅
let pauseOpenElecBike = (data = {}) => uni.$u.http.post('web/business/pauseOpenElecBike', data) // 鐢佃溅涓村仠寮�閿�
+ let login = (data = {}) => uni.$u.http.post('web/manger/login', data) // 鐧诲綍绠$悊鍛樿处鍙�
+ let logout = (data = {}) => uni.$u.http.post('web/manger/logout', data) // 閫�鍑虹鐞嗗憳璐﹀彿
+ let pageBikes = (data = {}) => uni.$u.http.post('web/manger/pageBikes', data) // 鍒嗛〉鏌ヨ鐢佃溅鍒楄〃
+ let updateBikeStatus = (params = {}) => uni.$u.http.get('web/manger/updateBikeStatus/batch', { params }) // 鐢佃溅鎵归噺涓婁笅鏋�
+ let updateLockStatus = (params = {}) => uni.$u.http.get('web/manger/updateLockStatus/batch', { params }) // 鐢佃溅鎵归噺寮�鍏抽攣
+ let scanVerify = (data = {}) => uni.$u.http.post('web/douyin/scanVerify', data) // 鎵爜鏍搁攢
+ let operationCenter = (params = {}) => uni.$u.http.get('web/report/operationCenter', { params }) // 杩愯惀涓績鏁版嵁
+ let operationOrderPage = (data = {}) => uni.$u.http.post('web/report/operationOrderPage', data) // 璁㈠崟鍒楄〃
+ let forceBack = (data = {}) => uni.$u.http.post('web/business/forceBack', data) // 寮哄埗杩樿溅
+ let getGoodsorderCanBanlanceDTO = (params = {}) => uni.$u.http.get('web/manger/getGoodsorderCanBanlanceDTO', { params }) // 鑾峰彇鍙��娆句俊鎭�
+ let backGoodsorder = (data = {}) => uni.$u.http.post('web/manger/backGoodsorder', data) // 閫�娆�
+ let overview = (params = {}) => uni.$u.http.get('web/report/overview', { params }) // 姒傝缁熻:鎬绘敞鍐岀敤鎴�-浠婃棩鏂板-鑷杞�-鐢靛姩杞︽暟閲�
+ let incomeStat = (data = {}) => uni.$u.http.post('web/report/incomeStat', data) // 鏀跺叆缁熻
+ let bikeIncome = (data = {}) => uni.$u.http.post('web/report/bikeIncome', data) // 鏀跺叆杞﹀瀷鍒嗘瀽
+ let accountLogout = (data = {}) => uni.$u.http.post('web/account/logout', data) // 浼氬憳閫�鍑虹櫥褰�
+ let orderRides = (params = {}) => uni.$u.http.get('web/report/orderRides', { params }) // 璁㈠崟楠戣璁板綍
+ let memberDiscountPage = (data = {}) => uni.$u.http.post('web/business/memberDiscountPage', data) // 鐢ㄦ埛濂楅鍗″垪琛�
vm.$u.api = {
getUserInfo,
@@ -63,7 +80,24 @@
openElecBike,
backElecBike,
pauseElecBike,
- pauseOpenElecBike
+ pauseOpenElecBike,
+ login,
+ logout,
+ pageBikes,
+ updateBikeStatus,
+ updateLockStatus,
+ scanVerify,
+ operationCenter,
+ operationOrderPage,
+ forceBack,
+ getGoodsorderCanBanlanceDTO,
+ backGoodsorder,
+ overview,
+ incomeStat,
+ bikeIncome,
+ accountLogout,
+ orderRides,
+ memberDiscountPage
};
}
--
Gitblit v1.9.3