智能柜扫码钱包余额检查和开门授权
This commit is contained in:
1 parent
7af87b8e80
commit
19934052da
5 files changed
+133
-15
No files matched your search
@@ -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,
|
||||
},
|
||||
}),
|
||||
}
|
||||
@@ -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"
|
||||
@@ -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,
|
||||
},
|
||||
}),
|
||||
}
|
||||
Reference in new issue
Block a user