|
@@ -110,7 +110,7 @@ func (p jySubVipProduct) OpenService(ctx context.Context, serviceOpenTime time.T
|
|
|
}
|
|
|
updateUserId = fmt.Sprint(identity.PositionId)
|
|
|
if doType == 1 || doType == 4 { //新购
|
|
|
- vipStartTime, vipEndTime = utility.GetStartAndEndTime(time.Now(), utility.DateComp{
|
|
|
+ vipStartTime, vipEndTime = utility.GetStartAndEndTime(serviceOpenTime, utility.DateComp{
|
|
|
Num: filter.BuyCycle,
|
|
|
Unit: filter.BuyType,
|
|
|
}, utility.DateComp{
|