优化获取

master
chenzhi 4 years ago
parent 007ca52afa
commit 553ee7a752

@ -2162,7 +2162,7 @@ function getGamePromoteCompanyRadio($company_id,$relation_game_id,$endtime,$amou
if(empty($cgr_res)){
//模板搜索
//获取公司类型
if($company_belong === false){
if($company_belong == false){
$company_belong = M("PromoteCompany","tab_")->field("company_belong")->where("id='{$company_id}'")->find()['company_belong'];
}
$mwhere = "company_belong='{$company_belong}' and relation_game_id='{$relation_game_id}'";

Loading…
Cancel
Save