|
|
|
@ -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'];
|
|
|
|
|