优化整箱

This commit is contained in:
zc
2026-04-27 16:14:26 +08:00
parent 848cabd0fa
commit 79f9124c9a
7 changed files with 407 additions and 67 deletions

View File

@@ -2,12 +2,12 @@ import http from '@/utils/http'
const BASE_URL = '/api/ys'
/** @desc 进入称重页面 */
/** @desc 启动宇视SDK */
export function getEnterWeighPage() {
return http.get<any>(`${BASE_URL}/enter-weigh-page`)
}
/** @desc 退出称重页面 */
/** @desc 退出宇视SDK */
export function getLeaveWeighPage() {
return http.get<any>(`${BASE_URL}/leave-weigh-page`)
}
@@ -17,7 +17,7 @@ export function getCaptureImage(data: any) {
return http.get<any>(`${BASE_URL}/capture-image`, data)
}
/** @desc 检查称重状态 */
/** @desc 检查宇视SDK状态 */
export function getCheckStatus() {
return http.get<any>(`${BASE_URL}/status`)
}