@@ -14,7 +14,7 @@
},
"redis": {
"main": {
- "address": "other=192.168.3.206:1712,push=192.168.3.206:1712,sso=192.168.3.206:1712,session=192.168.3.206:1712,recovery=192.168.3.206:1712"
+ "address": "other=192.168.3.206:1712,push=192.168.3.206:1712,sso=192.168.3.206:1712,session=192.168.3.206:1712,recovery=192.168.3.206:1712,newother=192.168.3.206:1712"
}
"mysql": {
@@ -137,6 +137,9 @@ func (f *FollowEnt) Detail(followId string) error {
"id": followId,
}, `s_entname,s_id,s_userid`, "")
fmt.Println(oneQy)
+ if oneQy == nil {
+ return f.Redirect("/jylab/followent/entList")
+ }
follow := "n"
if oneQy == nil || len(*oneQy) == 0 {
oneQy, _ = mongodb.FindOneByField("jylab_followent_back", map[string]interface{}{