初始提交
This commit is contained in:
57
bin/controller/RoomController.route.dart
Normal file
57
bin/controller/RoomController.route.dart
Normal file
@@ -0,0 +1,57 @@
|
||||
// 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
|
||||
]
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user