Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
search_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
d66e63ff
authored
Apr 23, 2023
by
SUDPTDUBLXEROFX\Administrator
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
分类
parent
0a92ce2a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
service/optimum_service.go
service/optimum_service.go
View file @
d66e63ff
...
...
@@ -154,6 +154,9 @@ func (qs *OptimumService) GetOptimumAttr(ctx *gin.Context) (results model.LyResp
valueMap
:=
v
.
Map
()
attr_value_name
:=
valueMap
[
"key"
]
.
String
()
//属性值:1V
attr_value_id
,
_
:=
gredis
.
String
(
redisConn
.
Do
(
"HGET"
,
config
.
Get
(
"redis_all.class_attr_value_by_val"
)
.
String
(),
attr_value_name
))
//属性值id
if
attr_value_name
==
""
||
attr_value_id
==
""
{
continue
}
ischeck
:=
"0"
//是否选中redigo
if
php2go
.
InArray
(
attr_value_id
,
REQUEST_ATTR
[
attr_name_id
])
{
...
...
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