From 00665fd1f9938a06469f85f56ebf5ae53cc9d64e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 16 Nov 2020 15:10:20 +0800 Subject: [PATCH] post --- routers/commentsRouter_controllers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/commentsRouter_controllers.go b/routers/commentsRouter_controllers.go index 7f0940f74..527d0f53e 100644 --- a/routers/commentsRouter_controllers.go +++ b/routers/commentsRouter_controllers.go @@ -1291,7 +1291,7 @@ func init() { beego.ControllerComments{ Method: "RefreshJdShopOrdersEarningPrice", Router: `/RefreshJdShopOrdersEarningPrice`, - AllowHTTPMethods: []string{"put"}, + AllowHTTPMethods: []string{"post"}, MethodParams: param.Make(), Filters: nil, Params: nil})