Browse Source

直播增加级别限制

abiao 4 years ago
parent
commit
452cadb857
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/models/live_broad.rb

+ 2 - 2
app/models/live_broad.rb

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