actstoresku字段

This commit is contained in:
苏尹岚
2020-08-11 10:24:00 +08:00
parent ea1c62793a
commit f35854dd5e

View File

@@ -1531,8 +1531,7 @@ func ChangeJxPriceByDiscountAct(ctx *jxcontext.Context) {
skuIDs = append(skuIDs, actStoreSku.SkuID)
}
storeSkus, _ := dao.GetStoresSkusInfo(db, storeIDs, skuIDs)
for _, storeSku := range storeSkus {
for _, _ = range storeSkus {
//第一档时间内
if (time.Now().Hour() >= 10 && time.Now().Hour() < 20) || (time.Now().Hour() == 20 && time.Now().Minute() < 1) {