如果扫描用户,没有订单,不需要返回任何信息给用户

完成套餐从数据库中提取
This commit is contained in:
8vd8
2025-04-22 18:08:52 +08:00
parent 8431cdf2d6
commit d9e70d4eaf
21 changed files with 591 additions and 145 deletions
+2 -1
View File
@@ -53,7 +53,8 @@ export const checkOrdersByStatus = (deviceNo, statuses) => {
return request({
url: `/app/order/list?deviceNo=${deviceNo}&orderStatus=${statusQuery}`,
method: 'get',
hideLoading: true // 隐藏加载提示,避免干扰用户
hideLoading: true, // 隐藏加载提示,避免干扰用户
ignoreEmptyError: true // 添加标记,表示即使返回空数据也不视为错误
})
}