优化工会游戏修改

master
chenzhi 4 years ago
parent d2c5ff923b
commit 3ef485516f

@ -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