管理后台>推广员管理>公会分成管理--更新

master
chenxiaojun 5 years ago
commit 1f19360d72

@ -161,6 +161,12 @@ class PromoteGameRatioController extends ThinkController
}
$promoteId = intval($params['promote_id']);
$gameId = intval($params['game_id']);
$promote = M('promote', 'tab_')->find($promoteId);
if (empty($promote) || $promote['level'] != 1) {
$this->error('参数异常');
}
$map['promote_id'] = $promoteId;
$map['game_id'] = $gameId;
$promoteGameRatio = D(self::MODEL_NAME)->where($map)->find();

Loading…
Cancel
Save