|
@@ -155,10 +155,9 @@ func (this *SalesCreateOrder) CreateBySeller() {
|
|
|
return nil, fmt.Errorf("创建订单异常Unmarshal")
|
|
|
}
|
|
|
|
|
|
- if inserMap.VipType != 2 {
|
|
|
+ if inserMap.VipType != 2 && isSend {
|
|
|
filterMap["seller_give_type"] = tt
|
|
|
filterMap["seller_give_cycle"] = tn
|
|
|
- filterMap["isSend"] = isSend //赠送时长是否生效
|
|
|
}
|
|
|
if inserMap.OrderMoney == 0 {
|
|
|
filterMap["zeroOrderType"] = "赠送"
|