|
|
@@ -7,7 +7,7 @@ class LiveBroad < ActiveRecord::Base
|
|
|
has_and_belongs_to_many :depart_record
|
|
|
serialize :rank_str, Array
|
|
|
RANK_ENUM= [["会员",0], ["群主",1], ["店长", 2], ["区代", 3]]
|
|
|
- RANK_HASH=["会员","群主","店长","区理"]
|
|
|
+ RANK_HASH=["会员","群主","店长","区代"]
|
|
|
|
|
|
def before_save
|
|
|
#自动取消其他置顶项
|