From a727fc644bbdf32ec7783abd5ece39e10cb50e4c Mon Sep 17 00:00:00 2001 From: gazebo Date: Fri, 29 Jun 2018 14:20:36 +0800 Subject: [PATCH] - fix ELMOrderStatus --- business/freshfood/freshfood.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/freshfood/freshfood.go b/business/freshfood/freshfood.go index 5b177c7fe..cba847ca1 100644 --- a/business/freshfood/freshfood.go +++ b/business/freshfood/freshfood.go @@ -109,7 +109,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()) + // globals.SugarLogger.Debug(params.Encode()) response, err = f.client.PostForm(fullURL, params) } else { response, err = f.client.Get(fullURL) @@ -199,7 +199,7 @@ func (f *FreshFoodAPI) ELMOrderStatus(orderId string, status int, statusTime str params.Set(URL_FRESHFOOD_PARA_ORDERSTATUS, utils.Int2Str(status)) params.Set(URL_FRESHFOOD_PARA_ORDERSTATUSTIME, statusTime) - return f.AccessFreshFood(URL_FRESHFOOD_PARA_ORDERSTATUS, params) + return f.AccessFreshFood(URL_FRESHFOOD_ORDER_STATUS, params) } // mtps api