NeoVersion

This commit is contained in:
mr
2024-10-15 09:58:32 +02:00
parent 6da36733c8
commit 53ebd71ff5
4 changed files with 23 additions and 7 deletions

View File

@@ -37,7 +37,7 @@ func init() {
beego.GlobalControllerRouter["oc-datacenter/controllers:BookingController"] = append(beego.GlobalControllerRouter["oc-datacenter/controllers:BookingController"],
beego.ControllerComments{
Method: "Check",
Router: `/check/:datacenter_id/:start_date/:end_date`,
Router: `/check/:id/:start_date/:end_date`,
AllowHTTPMethods: []string{"get"},
MethodParams: param.Make(),
Filters: nil,