|
|
|
@ -380,9 +380,9 @@ class PromoteGameRatioController extends ThinkController
|
|
|
|
|
$model = new PromoteGameRatioModel();
|
|
|
|
|
foreach ($ids as $id) {
|
|
|
|
|
$model->addLog($id);
|
|
|
|
|
$promoteGameRatio = D(self::MODEL_NAME)->find($id);
|
|
|
|
|
if (!empty($promoteGameRatio)) {
|
|
|
|
|
if ($status == 1) {
|
|
|
|
|
if ($status == 1) {
|
|
|
|
|
$promoteGameRatio = D(self::MODEL_NAME)->find($id);
|
|
|
|
|
if (!empty($promoteGameRatio)) {
|
|
|
|
|
if ($promoteGameRatio['begin_time'] <= strtotime(date('Y-m-d', time()))) {
|
|
|
|
|
$promoteId = $promoteGameRatio['promote_id'];
|
|
|
|
|
$promoteMap['chain'] = ['like', "/{$promoteId}/%"];
|
|
|
|
|