@@ -5,7 +5,7 @@ class WxUser < ActiveRecord::Base
has_paper_trail
self.table_name = "wx_users"
scope :所有会员, -> {}
- scope :群主, -> { where("rank=? and show_invite_mode=?",1,1) }
+ scope :代理, -> { where("rank=? and show_invite_mode=?",1,1) }
scope :店长, -> { where("rank=? and show_invite_mode=?",2,1) }
belongs_to :user