1111
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user