- remove a redundant warning log.
This commit is contained in:
@@ -84,7 +84,6 @@ func (c *OrderController) OrderStatus(order *jdapi.JDOrderMsg) *jdapi.JDCallback
|
||||
if order.StatusId != jdapi.JdOrderStatusNew && order.StatusId != jdapi.JdOrderStatusAdjust {
|
||||
err := normalOrderStatus(order)
|
||||
if err != nil {
|
||||
globals.SugarLogger.Warnf("error in OrderStatus, error:%v", err)
|
||||
return &jdapi.JDCallbackResponse{jdapi.JDerrorCodeAccessFailed, err.Error(), ""}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user