1、修复"主机预售券"退货失败的缺陷;
This commit is contained in:
parent
22a299898f
commit
f11bf3409c
|
@ -664,11 +664,7 @@ func MallOrderRefund(c *gin.Context) {
|
|||
case 4:
|
||||
RespJson(c, status.NewMachineCouponDisabled, nil)
|
||||
return
|
||||
default:
|
||||
RespJson(c, status.BadRequest, nil)
|
||||
return
|
||||
}
|
||||
|
||||
} else {
|
||||
if goodsOrder.CreatedAt.AddDate(0, 0, 15).Before(utils.Now()) ||
|
||||
(!goodsOrder.ReceivedTime.IsZero() && goodsOrder.ReceivedTime.AddDate(0, 0, 7).Before(utils.Now())) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user