diff --git a/platformapi/fnpsapi/callback.go b/platformapi/fnpsapi/callback.go index 4b4785bc..b960968d 100644 --- a/platformapi/fnpsapi/callback.go +++ b/platformapi/fnpsapi/callback.go @@ -149,13 +149,13 @@ func (a *API) GetChainOrderStatusNotify(request *http.Request) (shopStatusMsg *O return nil, callbackResponse } - storeNotify := &OrderStatusNottify{} + //storeNotify := &OrderStatusNottify{} fmt.Println("string==================", string(data)) - if err := json.Unmarshal(data, &storeNotify); err != nil { - baseapi.SugarLogger.Debugf("FN GetShopStatusCallbackMsg failed with err:%v", err) - callbackResponse = &CallbackResponse{Code: -1} - return nil, callbackResponse - } + //if err := json.Unmarshal(data, &storeNotify); err != nil { + // baseapi.SugarLogger.Debugf("FN GetShopStatusCallbackMsg failed with err:%v", err) + // callbackResponse = &CallbackResponse{Code: -1} + // return nil, callbackResponse + //} //fmt.Println("======================", storeNotify) //fnNotify := &OrderCallbackParam{} @@ -164,10 +164,10 @@ func (a *API) GetChainOrderStatusNotify(request *http.Request) (shopStatusMsg *O // callbackResponse = &CallbackResponse{Code: -1} // return nil, callbackResponse //} - fmt.Println("======================business_data", storeNotify.Param) - fmt.Println("======================business_data", storeNotify.Param.OrderId) - fmt.Println("======================business_data", storeNotify.Param.PartnerOrderCode) - fmt.Println("======================business_data", storeNotify.CallbackBusinessType) + //fmt.Println("======================business_data", storeNotify.Param) + //fmt.Println("======================business_data", storeNotify.Param.OrderId) + //fmt.Println("======================business_data", storeNotify.Param.PartnerOrderCode) + //fmt.Println("======================business_data", storeNotify.CallbackBusinessType) return nil, SuccessResponse }