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
b17148bf
authored
Jul 30, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
6084d865
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
service/ziyin_service.go
service/ziyin_service.go
View file @
b17148bf
...
@@ -1185,7 +1185,6 @@ func(this *ZyServiceImpl)AggSample(ctx *gin.Context, req map[string]string) (rsp
...
@@ -1185,7 +1185,6 @@ func(this *ZyServiceImpl)AggSample(ctx *gin.Context, req map[string]string) (rsp
if
err
!=
nil
{
if
err
!=
nil
{
continue
continue
}
}
fmt
.
Println
(
"classInfo"
,
classInfo
)
tempClassInfoStruct
:=
classInfoStruct
{
tempClassInfoStruct
:=
classInfoStruct
{
SmapleClassId
:
keyGjsonResult
.
Int
(),
SmapleClassId
:
keyGjsonResult
.
Int
(),
SmapleClassName
:
gjson
.
Get
(
classInfo
,
"class_name"
)
.
String
(),
SmapleClassName
:
gjson
.
Get
(
classInfo
,
"class_name"
)
.
String
(),
...
@@ -1194,10 +1193,8 @@ func(this *ZyServiceImpl)AggSample(ctx *gin.Context, req map[string]string) (rsp
...
@@ -1194,10 +1193,8 @@ func(this *ZyServiceImpl)AggSample(ctx *gin.Context, req map[string]string) (rsp
temp
[
key
]
=
tempClassInfoStruct
temp
[
key
]
=
tempClassInfoStruct
}
}
fmt
.
Println
(
temp
)
//排序
//排序
sample_class_data
:=
model
.
GetSampleClass
()
sample_class_data
:=
model
.
GetSampleClass
()
fmt
.
Println
(
"sample_class_data"
,
sample_class_data
)
res
:=
make
([]
classInfoStruct
,
0
)
res
:=
make
([]
classInfoStruct
,
0
)
for
_
,
val
:=
range
sample_class_data
{
for
_
,
val
:=
range
sample_class_data
{
...
...
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