修改bug

master
ELF 5 years ago
parent 83a1d34b2c
commit 8e40b43696

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

Loading…
Cancel
Save