公会分成管理--更新

master
chenxiaojun 5 years ago
parent 365a276b95
commit 6012fdbdf1

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

Loading…
Cancel
Save