This commit is contained in:
苏尹岚
2021-03-18 18:20:58 +08:00
parent 4d4c5d6b9d
commit 1f5f972402

View File

@@ -103,7 +103,7 @@ func (p *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
url, _ := getAPI("2").UploadImageNew(data, "2659335b16e3880e367759b8fc675933.tem.png")
ex := store.LicenceExpire
if ex == "" {
ex = utils.Time2Str(utils.Str2Time(store.LicenceValid).AddDate(0, 6, 0))
ex = utils.Time2Str(utils.Str2Time(store.LicenceValid).AddDate(10, 0, 0))
}
if !strings.Contains(ex, "00:00:00") {
ex += " 00:00:00"