美团售前同意条件
This commit is contained in:
@@ -234,8 +234,10 @@ func (c *BaseScheduler) AgreeOrRefuseRefund(ctx *jxcontext.Context, afsOrderID s
|
|||||||
orderCount += v.Count
|
orderCount += v.Count
|
||||||
}
|
}
|
||||||
//如果售后退款的商品数等于订单商品数,我就当是全部退款了
|
//如果售后退款的商品数等于订单商品数,我就当是全部退款了
|
||||||
for _, v := range waybills {
|
if afsCount == orderCount {
|
||||||
c.CancelWaybill(v, partner.CancelWaybillReasonOther, partner.CancelWaybillReasonStrActive)
|
for _, v := range waybills {
|
||||||
|
c.CancelWaybill(v, partner.CancelWaybillReasonOther, partner.CancelWaybillReasonStrActive)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if order.EarningType == model.EarningTypePoints {
|
if order.EarningType == model.EarningTypePoints {
|
||||||
|
|||||||
Reference in New Issue
Block a user