Commit b17148bf by 孙龙

up

parent 6084d865
Showing with 0 additions and 3 deletions
...@@ -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{
......
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