|
|
|
@ -1668,9 +1668,9 @@ class MarketPercentageController extends ThinkController
|
|
|
|
|
{
|
|
|
|
|
if (IS_AJAX) {
|
|
|
|
|
//获取所有游戏
|
|
|
|
|
$promoteId = I('id', 0, 'intval');
|
|
|
|
|
$promote = M('promote', 'tab_')->field('id,account,game_ids,company_id')->where(['id'=>$promoteId])->find();
|
|
|
|
|
$company = M('promote_company', 'tab_')->field('game_ids')->where(['id' => $promote['company_id']])->find();
|
|
|
|
|
// $promoteId = I('id', 0, 'intval');
|
|
|
|
|
// $promote = M('promote', 'tab_')->field('id,account,game_ids,company_id')->where(['id'=>$promoteId])->find();
|
|
|
|
|
// $company = M('promote_company', 'tab_')->field('game_ids')->where(['id' => $promote['company_id']])->find();
|
|
|
|
|
$data = [];
|
|
|
|
|
|
|
|
|
|
$games = M('game', 'tab_')
|
|
|
|
|