修改问题

master
yulingwei 5 years ago
parent ed9ddd2d67
commit 56b0216ff0

@ -230,7 +230,7 @@ class PromoteController extends BaseController
->where("(type = 1 and pop_time = {$currentTime}) or (type = 2 and pop_time = {$week})")
->order("sort asc, id desc")
->select();
$this->assign("match_rules_id", $match_rules ? json_encode(array_column($match_rules, 'id')) : []);
$this->assign("match_rules_id", $match_rules ? json_encode(array_column($match_rules, 'id')) : 'null');
$this->assign("user_count", $user_count);
$this->assign("total_money", $total_money);

Loading…
Cancel
Save