- prevent modify promotion store sku. lack callback handler

This commit is contained in:
gazebo
2018-11-06 14:36:21 +08:00
parent d48b867dae
commit ae267dcdbe
6 changed files with 172 additions and 16 deletions

View File

@@ -217,8 +217,8 @@ func init() {
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:PromotionController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:PromotionController"],
beego.ControllerComments{
Method: "CancelPomotion",
Router: `/CancelPomotion`,
Method: "CancelPromotion",
Router: `/CancelPromotion`,
AllowHTTPMethods: []string{"put"},
MethodParams: param.Make(),
Params: nil})