|
|
@ -34,7 +34,7 @@ class PromoteGameRatioController extends ThinkController
|
|
|
|
$map['_string'] = 'game_id = relation_game_id';
|
|
|
|
$map['_string'] = 'game_id = relation_game_id';
|
|
|
|
$where['_string'] = '1 = 1';
|
|
|
|
$where['_string'] = '1 = 1';
|
|
|
|
if ($companyId || ($companyBelong !== '' && in_array($companyBelong, [0, 1]))) {
|
|
|
|
if ($companyId || ($companyBelong !== '' && in_array($companyBelong, [0, 1]))) {
|
|
|
|
$promoteMap['_string'] = '1 = 1';
|
|
|
|
$promoteMap['level'] = 1;
|
|
|
|
if ($companyId) {
|
|
|
|
if ($companyId) {
|
|
|
|
$promoteMap['company_id'] = $companyId;
|
|
|
|
$promoteMap['company_id'] = $companyId;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -146,7 +146,7 @@ class PromoteGameRatioController extends ThinkController
|
|
|
|
$thisPromoteStatus = $thisPromoteStatus ?? '待审核';
|
|
|
|
$thisPromoteStatus = $thisPromoteStatus ?? '待审核';
|
|
|
|
$thisPromoteVerStatus = getPromoteVerStatus($promotes[$thisPromoteId]['ver_status'], 2);
|
|
|
|
$thisPromoteVerStatus = getPromoteVerStatus($promotes[$thisPromoteId]['ver_status'], 2);
|
|
|
|
$thisCompanyName = getPromoteCompanyName($promotes[$thisPromoteId]['company_id']);
|
|
|
|
$thisCompanyName = getPromoteCompanyName($promotes[$thisPromoteId]['company_id']);
|
|
|
|
$thisCompanyBelong = $promotes[$thisPromoteId]['company_belong'] == 1 ? '外团' : '内团';
|
|
|
|
$thisCompanyBelong = $promotes[$thisPromoteId]['company_belong'] ? '外团' : '内团';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ($issetGame) {
|
|
|
|
if ($issetGame) {
|
|
|
|
$thisGameName = $games[$thisGameId]['relation_game_name'];
|
|
|
|
$thisGameName = $games[$thisGameId]['relation_game_name'];
|
|
|
|