Authored by xiaofeng.yao@yoho.cn

Room mode rule规则里app修改

@@ -38,9 +38,9 @@ class Room extends \yii\db\ActiveRecord @@ -38,9 +38,9 @@ class Room extends \yii\db\ActiveRecord
38 public function rules() 38 public function rules()
39 { 39 {
40 return [ 40 return [
41 - [['room_id', 'master_id', 'starting_time', 'best', 'vest', 'living', 'status', 'create_time', 'update_time'], 'integer'], 41 + [['room_id', 'master_id', 'app', 'starting_time', 'best', 'vest', 'living', 'status', 'create_time', 'update_time'], 'integer'],
42 [['title', 'watermark'], 'string', 'max' => 100], 42 [['title', 'watermark'], 'string', 'max' => 100],
43 - [['app', 'secret'], 'string', 'max' => 50], 43 + [['secret'], 'string', 'max' => 50],
44 [['pic'], 'string', 'max' => 255], 44 [['pic'], 'string', 'max' => 255],
45 [['room_id'], 'unique'], 45 [['room_id'], 'unique'],
46 [['secret'], 'unique'], 46 [['secret'], 'unique'],