瀏覽代碼

增加redis gem文件

abiao 5 年之前
父節點
當前提交
3905520f94
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      app/models/wx_user.rb

+ 0 - 2
app/models/wx_user.rb

@@ -22,11 +22,9 @@ class WxUser < ActiveRecord::Base
   after_destroy :after_destroy
 
   def after_update
-    #root: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")
     #redis = Redis.new(url: "redis://root:8c!Beg9ocFag@r-wz9nmvnbdsek8yl476pd.redis.rds.aliyuncs.com:6379/15")