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