设备 预约接口
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user