删除打印
This commit is contained in:
@@ -46,7 +46,6 @@ func (c *PurchaseHandler) isAfsMsg(orderStatus string, orderId string, orderCall
|
||||
// RefundIds: &[]int64{utils.Str2Int64(success.BizSubRefundId)},
|
||||
//}
|
||||
//refundAfs, _ := getAPI("", 0, success.StoreId).QueryAfsOrderDetail(param)
|
||||
//globals.SugarLogger.Debugf("==============refundAfs.Orders : %s", utils.Format4Output(refundAfs.Orders != nil, false))
|
||||
//if refundAfs.Orders != nil {
|
||||
// return true
|
||||
//}
|
||||
@@ -72,9 +71,6 @@ func (c *PurchaseHandler) onAfsOrderMsg(status string, msg interface{}) (retVal
|
||||
var err error
|
||||
var db = dao.GetDB()
|
||||
orderStatus, scarceGoods := c.callbackAfsMsg2Status(status, msg)
|
||||
globals.SugarLogger.Debugf("status := %s", status)
|
||||
globals.SugarLogger.Debugf("orderStatus := %s", utils.Format4Output(orderStatus, false))
|
||||
globals.SugarLogger.Debugf("scarceGoods := %s", utils.Format4Output(scarceGoods, false))
|
||||
// 用户取消售后
|
||||
switch status {
|
||||
case tao_vegetable.OrderStatusApplyAfs:
|
||||
@@ -286,8 +282,6 @@ func (c *PurchaseHandler) onAfsOrderMsg(status string, msg interface{}) (retVal
|
||||
//直接就来一个新的售后单,并且还是售后完成的
|
||||
afsOrder.AfsFinishedAt = afsOrder.AfsCreatedAt
|
||||
afsOrder.Flag = model.AfsOrderFlagAgreeUserRefund
|
||||
globals.SugarLogger.Debugf("==============onsaleRefund afsOrd: = %s", utils.Format4Output(afsOrder, false))
|
||||
globals.SugarLogger.Debugf("==============onsaleRefund orderStatus: = %s", utils.Format4Output(orderStatus, false))
|
||||
err = partner.CurOrderManager.OnAfsOrderNew(afsOrder, orderStatus)
|
||||
}
|
||||
case tao_vegetable.OrderStatusRefundSuccess:
|
||||
@@ -341,8 +335,6 @@ func (c *PurchaseHandler) onAfsOrderMsg(status string, msg interface{}) (retVal
|
||||
|
||||
afsOrder.SkuUserMoney += refundFee
|
||||
afsOrder.RefundType = model.AfsTypePartRefund
|
||||
globals.SugarLogger.Debugf("============OrderStatusRefundSuccess afsOrder: %s", utils.Format4Output(afsOrder, false))
|
||||
globals.SugarLogger.Debugf("============OrderStatusRefundSuccess orderStatus: %s", utils.Format4Output(orderStatus, false))
|
||||
if afsOrder != nil {
|
||||
//直接就来一个新的售后单,并且还是售后完成的
|
||||
afsOrder.AfsFinishedAt = afsOrder.AfsCreatedAt
|
||||
|
||||
Reference in New Issue
Block a user