Compare commits

..

No commits in common. "b4c90f4d18f478fb2714025bef17f10ad9e4de9e" and "f8b5df1f4248fa85f16e3f91ad84fa53b093306b" have entirely different histories.

View File

@ -246,7 +246,7 @@ func CreateBundleOrderSignature(c *gin.Context) {
service.Error(c, errors.New(common.ThereAreOutstandingOrders)) service.Error(c, errors.New(common.ThereAreOutstandingOrders))
return return
} }
if orderInfo.CustomerID == strconv.FormatUint(userInfo.ID, 10) && orderInfo.ExpirationTime > time.Now().Format("2006-01-02 15:04:05") { if orderInfo.CustomerID == strconv.FormatUint(userInfo.ID, 10) && orderInfo.ExpirationTime > time.Now().Format("2006-01-02") {
service.Error(c, errors.New(common.HadOrder)) service.Error(c, errors.New(common.HadOrder))
return return
} }