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
3b8428c7
authored
Jul 28, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
fe0dfa21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
service/ziyin_service.go
service/ziyin_service.go
View file @
3b8428c7
...
@@ -985,7 +985,7 @@ func ziyingCache(req map[string]string,_type byte) ( bool){
...
@@ -985,7 +985,7 @@ func ziyingCache(req map[string]string,_type byte) ( bool){
if
class_idCondition
!=
""
{
if
class_idCondition
!=
""
{
class_id
,
_
=
strconv
.
Atoi
(
class_idCondition
)
class_id
,
_
=
strconv
.
Atoi
(
class_idCondition
)
}
}
agg_table
:=
config
.
Get
(
"AGG_TABLE.agg_table"
)
.
String
()
//
agg_table := config.Get("AGG_TABLE.agg_table").String()
firstLists_table
:=
config
.
Get
(
"FIRSTLISTS_TABLE.firstLists_table"
)
.
String
()
firstLists_table
:=
config
.
Get
(
"FIRSTLISTS_TABLE.firstLists_table"
)
.
String
()
class_id
=
class_id
class_id
=
class_id
err
=
err
err
=
err
...
@@ -995,7 +995,7 @@ func ziyingCache(req map[string]string,_type byte) ( bool){
...
@@ -995,7 +995,7 @@ func ziyingCache(req map[string]string,_type byte) ( bool){
defer
mongodb
.
Close
()
defer
mongodb
.
Close
()
c
:=
mongodb
.
DB
(
"ichunt"
)
.
C
(
firstLists_table
)
c
:=
mongodb
.
DB
(
"ichunt"
)
.
C
(
firstLists_table
)
c1
:=
mongodb
.
DB
(
"ichunt"
)
.
C
(
agg_table
)
//
c1 :=mongodb.DB("ichunt").C(agg_table)
//var res interface{}
//var res interface{}
type
res
struct
{
type
res
struct
{
ID
bson
.
ObjectId
`json:"_id" bson:"_id"`
ID
bson
.
ObjectId
`json:"_id" bson:"_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