Merge branch 'hotfix/change_company_game' of wmtx/platform into release

优化工会游戏修改
master
万盟天下 4 years ago committed by Gogs
commit 69bb4e9028

@ -1211,7 +1211,7 @@ class PromoteCompanyController extends ThinkController
} }
} }
if(count($diff_ids) > 0){ if(count($diff_ids) > 0){
$diff_ids = D("Game")->changeRelationGameidToGameid($diff_ids,true); $diff_ids = D("Game")->changeRelationGameidToGameid(implode(',',$diff_ids),true);
} }
if($is_change_game){ if($is_change_game){
$dbres = $Promote->field("id,game_ids")->where("company_id = '{$company_id}'")->select(); $dbres = $Promote->field("id,game_ids")->where("company_id = '{$company_id}'")->select();

Loading…
Cancel
Save