Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
go_sku_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
dc7e2018
authored
Dec 01, 2020
by
huangchengyi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1.0
parent
f30f1ec7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
service/service_zy_cron.go
service/service_zy_cron.go
View file @
dc7e2018
...
...
@@ -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
//两年前时间戳
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment