优化支付商户配置查看

master
chenzhi 3 years ago
parent ad028cd613
commit 5bef7fb351

@ -407,7 +407,9 @@ class PaymentMerchantController extends ThinkController
$conditions['_string'].=" AND ( r.company_belong = {$companyBelong} or company_id in ({$promoteCompanyIds}) )";
}
if ($companyId != 0) {
$conditions['company_id'] = $companyId;
//请求公司要姜蓉内外团
$companyBelong = M("promote_company","tab_")->where("id = '{$companyId}'")->getField("company_belong");
$conditions['_string'] .= " AND ( r.company_belong = {$companyBelong} or company_id ='{$companyId}' )";
}
if ($gameTypeId != 0) {
$conditions['game_type_id'] = $gameTypeId;

Loading…
Cancel
Save