Browse Source

大会员延长服务开始时间

xuzhiheng 2 years ago
parent
commit
1cf24d5681
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/order/orderManageController.go

+ 1 - 1
src/order/orderManageController.go

@@ -1175,7 +1175,7 @@ func CreateBigOrder(context *admin.Context) (interface{}, error) {
 		if param.CreateType == 3 {
 			if bigEnd != 0 {
 				enddate = GetDATE(param.PayCycle, param.CycleType, bigEnd)
-				startdate = time.Unix(bigEnd, 0)
+				startdate = time.Unix(bigEnd, 0).AddDate(0, 0, 1)
 			}
 		}
 		if param.CreateType == 2 {