|
|
|
@ -748,17 +748,15 @@ class FinanceController extends ThinkController
|
|
|
|
|
return false;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$gameSets = [];
|
|
|
|
|
if (count($gameIds) > 0) {
|
|
|
|
|
$gameSets = M('game_set', 'tab_')->field(['game_id', 'pay_notify_url'])->where(['game_id' => ['in', $gameIds]])->select();
|
|
|
|
|
$gameSets = index_by_column('game_id', $gameSets);
|
|
|
|
|
}
|
|
|
|
|
$gameSets = M('game_set', 'tab_')->field(['game_id', 'pay_notify_url'])->select();
|
|
|
|
|
$gameSets = index_by_column('game_id', $gameSets);
|
|
|
|
|
|
|
|
|
|
$searchGameCodes = [];
|
|
|
|
|
if (count($searchGameIds) > 0) {
|
|
|
|
|
$searchGameCodes = M('game', 'tab_')->where(['id' => ['in', $searchGameIds], 'unique_code' => ['neq', '']])->getField('unique_code', true);
|
|
|
|
|
$searchGameCodes = array_unique($searchGameCodes);
|
|
|
|
|
}
|
|
|
|
|
var_dump($gameSets);die();
|
|
|
|
|
|
|
|
|
|
$client = new AggregateClient();
|
|
|
|
|
$result = $client->api('game-data', [
|
|
|
|
|