ソースを参照

增加积分配置

zhangjinkun@topnet.net.cn 9 年 前
コミット
81cab04a1c
3 ファイル変更3 行追加3 行削除
  1. 1 1
      core/src/config.json
  2. 1 1
      core/src/qfw/member/credit/credit.go
  3. 1 1
      core/src/timetask.json

+ 1 - 1
core/src/config.json

@@ -1,6 +1,6 @@
 {
     "webServerPort": "80",
-    "redisServers": "enterprise=192.168.3.14:1379,service=192.168.3.14:2379,other=192.168.3.14:3379,sso=192.168.3.14:1379",
+    "redisServers": "enterprise=192.168.3.14:1379,service=192.168.3.14:2379,other=192.168.3.14:3379,sso=192.168.3.14:1379,credit=192.168.3.14:3379",
     "useRedis": false,
     "mongodbServers": "192.168.3.18:27080",
     "elasticsearch": "http://192.168.3.18:9800",

+ 1 - 1
core/src/qfw/member/credit/credit.go

@@ -11,6 +11,6 @@ import (
 var RedisDB string
 
 func init() {
-	RedisDB = "other"
+	RedisDB = "credit"
 	xweb.AddAction(&credit{})
 }

+ 1 - 1
core/src/timetask.json

@@ -1 +1 @@
-{"comment":{"c_rate":720,"commentrate":900},"market":{"demand":{"attr":["i_hits","i_bids","i_status"],"timepoint":"2016-01-19 18:18:18"},"service":{"attr":["i_hits","i_sales","i_comments","i_score","i_appcounts"],"timepoint":"2016-01-19 18:18:18"}},"marketisstart":true,"marketrate":300}
+{"comment":{"c_rate":720,"commentrate":900},"market":{"demand":{"attr":["i_hits","i_bids","i_status"],"timepoint":"2016-01-20 09:32:14"},"service":{"attr":["i_hits","i_sales","i_comments","i_score","i_appcounts"],"timepoint":"2016-01-20 09:32:14"}},"marketisstart":true,"marketrate":300}