255], [['rule'], 'string', 'max' => 1000], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'store_id' => 'Store ID', 'probability' => '概率', 'oppty' => '抽奖次数', 'type' => '1.天 2 用户', 'start_time' => '开始时间', 'end_time' => '结束时间', 'title' => '小程序标题', 'rule' => '规则', 'deplete_register' => '消耗积分', ]; } }