+ DeleteRecipes

This commit is contained in:
gazebo
2019-09-17 18:22:06 +08:00
parent 9a7ab6425f
commit 025b2b0cfd
3 changed files with 50 additions and 0 deletions

View File

@@ -493,6 +493,15 @@ func init() {
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:FoodRecipeController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:FoodRecipeController"],
beego.ControllerComments{
Method: "DeleteRecipes",
Router: `/DeleteRecipes`,
AllowHTTPMethods: []string{"delete"},
MethodParams: param.Make(),
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:FoodRecipeController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:FoodRecipeController"],
beego.ControllerComments{
Method: "GetRecipeDetail",