智能柜扫码钱包余额检查和开门授权

This commit is contained in:
weiwei committed 2025-04-16 10:45:44 +08:00
1 parent 7af87b8e80
commit 19934052da
5 files changed
+133 -15

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
import request from "@/sheep/utils/request"
export default {
appGetAuthHardDoor: (data: { doorHardId: any; cabinetNo: any }): Promise<any> =>
request({
url: "hard/hard-auth/app/get-auth-hard-door",
method: "POST",
data,
custom: {
showLoading: false,
},
}),
/**
* app获取智能柜授权信息
* @param authId 授权id
* @param authStatus 是否授权
* @returns
*/
appAuthHardDoor: (data: { authId: any; authStatus: any }): Promise<any> =>
request({
url: "hard/hard-auth/app/auth-hard-door",
method: "POST",
data,
custom: {
showLoading: false,
},
}),
}
+2
View File
@@ -27,3 +27,5 @@ export { default as shopApi } from "./shop"
export { default as flowStatisticsApi } from "./flowStatistics"
export { default as individualOrderApi } from "./individualOrder"
export { default as hardApi } from "./hard"
+12
View File
@@ -90,4 +90,16 @@ export default {
showLoading: false,
},
}),
/**
* 是够能够使用智能柜
*/
isUseDoor: (): Promise<any> =>
request({
url: "wallet/wallet-manage/app/is-use-door",
method: "GET",
data: {},
custom: {
showLoading: false,
},
}),
}