设备 预约接口

This commit is contained in:
czz
2025-06-12 17:38:31 +08:00
parent d5c3addd4a
commit d8b46c41ad
13 changed files with 267 additions and 521 deletions

View File

@@ -68,13 +68,13 @@ class BookInfoController extends GetControllerEx<BookInfoModel> {
}
submitData(id) {
String tel = userInfoController.model?.user?.tel ?? "";
if (tel.isEmpty) {
String phone = userInfoController.model?.user?.phone ?? "";
if (phone.isEmpty) {
showToast("用户未存在手机号");
return;
}
return ApiService.reservation.post("/agent/userBook/submitBook", data: {
"extUserId": tel,
"extUserId": phone,
"storeId": id,
"realName": model.userName,
"userPhone": model.userPhone,