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
0b5c6b73
authored
Nov 19, 2020
by
huangchengyi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1.0
parent
b606bfe3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
conf/dev/redis.ini
controller/sku_controller.go
conf/dev/redis.ini
View file @
0b5c6b73
...
@@ -2,15 +2,15 @@
...
@@ -2,15 +2,15 @@
[default_redis_read]
[default_redis_read]
host
=
192.168.1.235:6379
host
=
192.168.1.235:6379
password
=
icDb29mLy2s
password
=
icDb29mLy2s
max_idle
=
2
0000
max_idle
=
1
0000
max_active
=
2
0000
max_active
=
1
0000
idle_timeout
=
20
idle_timeout
=
20
[default_redis_write]
[default_redis_write]
host
=
192.168.1.235:6379
host
=
192.168.1.235:6379
password
=
icDb29mLy2s
password
=
icDb29mLy2s
max_idle
=
2
0000
max_idle
=
1
0000
max_active
=
2
0000
max_active
=
1
0000
idle_timeout
=
20
idle_timeout
=
20
;存放redis所有键
;存放redis所有键
...
...
controller/sku_controller.go
View file @
0b5c6b73
...
@@ -95,6 +95,7 @@ func Synchronization(ctx *gin.Context) {
...
@@ -95,6 +95,7 @@ func Synchronization(ctx *gin.Context) {
temp
[
s
]
=
v
temp
[
s
]
=
v
return
true
return
true
})
})
common
.
Output
(
ctx
,
0
,
"success"
,
temp
)
common
.
Output
(
ctx
,
0
,
"success"
,
temp
)
}
}
...
...
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