58 lines
1.3 KiB
Dart
58 lines
1.3 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
// **************************************************************************
|
|
// RouteGenerator
|
|
// **************************************************************************
|
|
|
|
part of 'RoomController.dart';
|
|
|
|
late var _callHandler;
|
|
final Map<HttpMethod, List<List>> routes = {
|
|
HttpMethod.GET: [
|
|
["/room/roomList", HttpResponseType.JSON, _callHandler.getRoomList, 2, true]
|
|
],
|
|
HttpMethod.POST: [
|
|
["/room/addRoom", HttpResponseType.JSON, _callHandler.addRoom, 1, true],
|
|
[
|
|
"/room/addOrderCheckIn",
|
|
HttpResponseType.JSON,
|
|
_callHandler.addOrderCheckIn,
|
|
2,
|
|
true
|
|
],
|
|
[
|
|
"/room/delOrderCheckIn",
|
|
HttpResponseType.JSON,
|
|
_callHandler.delOrderCheckIn,
|
|
1,
|
|
true
|
|
],
|
|
[
|
|
"/room/addRuzhuCheckIn",
|
|
HttpResponseType.JSON,
|
|
_callHandler.addRuzhuCheckIn,
|
|
2,
|
|
true
|
|
],
|
|
["/room/checkout", HttpResponseType.JSON, _callHandler.checkout, 2, true]
|
|
],
|
|
HttpMethod.PUT: [
|
|
[
|
|
"/room/updateRoom",
|
|
HttpResponseType.JSON,
|
|
_callHandler.updateRoom,
|
|
1,
|
|
true
|
|
]
|
|
],
|
|
HttpMethod.DELETE: [
|
|
[
|
|
"/room/deleteRoom",
|
|
HttpResponseType.JSON,
|
|
_callHandler.deleteRoom,
|
|
1,
|
|
true
|
|
]
|
|
],
|
|
};
|