Explorar o código

直播增加级别限制

abiao %!s(int64=4) %!d(string=hai) anos
pai
achega
452cadb857
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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
       #自动取消其他置顶项