abiao пре 5 година
родитељ
комит
04833da157
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      app/models/wx_user.rb

+ 2 - 2
app/models/wx_user.rb

@@ -23,8 +23,8 @@ class WxUser < ActiveRecord::Base
 
 
   def after_update
   def after_update
     #root:Fohow123!@#
     #root:Fohow123!@#
-    test_redis = Redis.new(:host=>"redis://r-wz9dtt12y12ns2b97gpd.redis.rds.aliyuncs.com",:db=>"0",:user=>"root",:password=>"Fohow123!@#")
-    redis = Redis.new(:host=>"redis://r-wz9dtt12y12ns2b97gpd.redis.rds.aliyuncs.com",:db=>"0",:user=>"root",:password=>"Fohow123!@#")
+    test_redis = Redis.new(:host=>"r-wz9dtt12y12ns2b97gpd.redis.rds.aliyuncs.com",:db=>"0",:user=>"root",:password=>"Fohow123!@#")
+    redis = Redis.new(:host=>"r-wz9dtt12y12ns2b97gpd.redis.rds.aliyuncs.com",:db=>"0",:user=>"root",:password=>"Fohow123!@#")
 
 
 
 
     #test_redis = Redis.new(url: "redis://root:8c!Beg9ocFag@r-wz9nmvnbdsek8yl476pd.redis.rds.aliyuncs.com:6379/102")
     #test_redis = Redis.new(url: "redis://root:8c!Beg9ocFag@r-wz9nmvnbdsek8yl476pd.redis.rds.aliyuncs.com:6379/102")