联合支付模式使用人脸识别生成就餐记录

This commit is contained in:
2026-03-19 14:19:20 +08:00
parent a6d2441704
commit b51be58c64
8 changed files with 176 additions and 24 deletions
@@ -287,6 +287,7 @@ class PayActivity : BaseActivity<ActivityPayBinding>() {
}
fun bindOrder(userId: String, block: (Boolean) -> Unit) {
//0-即放即取,1-余量计量
val pickupMode = SPUtil.getInstance().get(GlobalKey.KEY_PICKUP_MODE, 0)
val mode = if (pickupMode == 1) 1 else 2
userViewModel.bindOrder(userId, foodOrderId, mode = mode) { bindResult ->