neo datacenter

This commit is contained in:
mr
2024-08-26 12:08:43 +02:00
parent ae0b2098ec
commit a07db36d99
8 changed files with 25 additions and 12 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/:start_date/:end_date`,
Router: `/check/:datacenter_id/:start_date/:end_date`,
AllowHTTPMethods: []string{"get"},
MethodParams: param.Make(),
Filters: nil,