From 5d6a2964c283bef31c48bee5ba2f05e545b243a7 Mon Sep 17 00:00:00 2001 From: gazebo Date: Wed, 27 Jun 2018 16:54:26 +0800 Subject: [PATCH] - RouterCaseSensitive = false. - debug calling freshfood. --- business/freshfood/freshfood.go | 1 + conf/app.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/business/freshfood/freshfood.go b/business/freshfood/freshfood.go index bd31c2715..b6245482f 100644 --- a/business/freshfood/freshfood.go +++ b/business/freshfood/freshfood.go @@ -103,6 +103,7 @@ func (f *FreshFoodAPI) AccessFreshFood(apiStr string, params url.Values) error { fullURL := f.baseURL + "/" + apiStr for i := 0; i < retryCount; i++ { if params != nil { + globals.SugarLogger.Debug(params.Encode()) response, err = f.client.PostForm(fullURL, params) } else { response, err = f.client.Get(fullURL) diff --git a/conf/app.conf b/conf/app.conf index 93c184370..e37cd84fc 100644 --- a/conf/app.conf +++ b/conf/app.conf @@ -4,7 +4,7 @@ runmode = dev autorender = false copyrequestbody = true EnableDocs = true -RouterCaseSensitive = true +RouterCaseSensitive = false filelinenum = true dadaAppKey = "dada9623324449cd250"