@@ -16,7 +16,7 @@
},
"redis": {
"main": {
- "address": "other=192.168.3.11:1712,session=192.168.3.11:1713"
+ "address": "other=192.168.3.11:1712,session=192.168.3.11:1713,newother=192.168.3.11:1712"
}
"mysql": {
@@ -44,7 +44,7 @@ func (w *ExhibitionStruct) GetExhibitionActiveHref(email, phone, source string,
fmt.Println(phone, "------")
//留资福利 及 留资后跳转地址
if res := w.ExhibitionActive("", source, session, "second_ad_code,guide_page,welfare_type,welfare_content"); res != nil {
- //供 文库 获取福利 使用
+ //供 文库 获取福利 使用 NSQ 通信
go func() {
key := fmt.Sprintf("exhibition_active_%s", mgoUserId)
if redis.Incr("newother", key) == 1 {