- RouterCaseSensitive = false.

- debug calling freshfood.
This commit is contained in:
gazebo
2018-06-27 16:54:26 +08:00
parent 9b34fd5e41
commit 5d6a2964c2
2 changed files with 2 additions and 1 deletions

View File

@@ -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)

View File

@@ -4,7 +4,7 @@ runmode = dev
autorender = false
copyrequestbody = true
EnableDocs = true
RouterCaseSensitive = true
RouterCaseSensitive = false
filelinenum = true
dadaAppKey = "dada9623324449cd250"