Commit dc7e2018 by huangchengyi

1.0

parent f30f1ec7
Showing with 3 additions and 1 deletions
......@@ -34,7 +34,9 @@ func (a *ZyCronService) ZyDiscount(checkGoodsId string) {
)
defer redisConn.Close()
redisConn.Do("del","zy_ratio_sku") //删除阶梯价缓存
if checkGoodsId != "" {
redisConn.Do("del","zy_ratio_sku") //删除所有系数缓存
}
twoYearsAgotime := php2go.Time()-60 * 60 * 24 * 365 * 2 //两年前时间戳
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment