'', 'title' => '', 'color' => '', 'background' => '', 'logo' => '', 'format_type' => 0, 'format' => '', 'description' => '', 'fields' => '', 'snpos' => '', 'status' => 1, 'business' => '', 'discount_type' => '', 'discount' => '', 'grant' => '', 'grant_rate' => 0, 'offset_rate' => 0, 'offset_max' => 0, 'nums_status' => 0, 'nums_text' => '', 'nums' => '', 'times_status' => 0, 'times_text' => '', 'times' => '', 'params' => '', 'html' => '', 'recommend_status' => 0, 'sign_status' => 0, 'brand_name' => '', 'notice' => '', 'quantity' => 0, 'max_increase_bonus' => 0, 'least_money_to_use_bonus' => 0, 'source' => 1, 'card_id' => '', ); public function getByStatus($status, $uniacid) { return $this->query->where('status', $status)->where('uniacid', $uniacid)->get(); } }