Commit 3b8428c7 by 孙龙

up

parent fe0dfa21
Showing with 2 additions and 2 deletions
...@@ -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"`
......
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