修改bug

master
ELF 4 years ago
parent 7445125745
commit 83a1d34b2c

@ -8320,11 +8320,8 @@ class ExportController extends Controller
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);
}
$searchGameCodes = [];
if (count($searchGameIds) > 0) {

@ -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 = 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', [

Loading…
Cancel
Save