|
...
|
...
|
@@ -62,11 +62,11 @@ class NotebookDetailModel extends ChangeNotifier { |
|
|
|
|
|
|
|
//安排在线预订
|
|
|
|
setReserveStatus(BuildContext context, Map<String, String> params,
|
|
|
|
{ifPush = true}) async {
|
|
|
|
{ifPush = true,showLoading=false}) async {
|
|
|
|
BaseResp<Map<String, dynamic>> baseResp = await DioUtil()
|
|
|
|
.request<Map<String, dynamic>>(
|
|
|
|
context, Method.get, HttpUrl.set_reserve_status,
|
|
|
|
data: params, showLoading: false)
|
|
|
|
data: params, showLoading: showLoading)
|
|
|
|
.catchError((error) {
|
|
|
|
print(error.toString());
|
|
|
|
});
|
...
|
...
|
|