游戏比例模板权限区分

master
chenzhi 3 years ago
parent 22619dff0c
commit e523dc7e88

@ -23,6 +23,13 @@ class GameRatioMouldController extends AdminController
//获取游戏id
$gamewhere['_string'] = '1 = 1';
$where['_string'] = '1 = 1';
$markerGroup = A("Market","Event")->isMarketAdminGroup(session('user_group_id'));
if($markerGroup){
$where['_string'] .= " AND m.company_belong > 0";
}
if(isset($params['relation_game_id'])){
$gamewhere['relation_game_id'] = $params['relation_game_id'];
$where['m.relation_game_id'] = $params['relation_game_id'];

Loading…
Cancel
Save