wangshan 2 gadi atpakaļ
vecāks
revīzija
98dfdd59e9
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      src/config.json
  2. 1 1
      src/service/action/exhibition.go

+ 1 - 1
src/config.json

@@ -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": {

+ 1 - 1
src/service/action/exhibition.go

@@ -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 {