超级签统计--导出

master
zhanglingsheng 5 years ago
parent 34020fd725
commit 7a9fe4fb45

@ -2003,7 +2003,7 @@ class ExportController extends Controller
foreach($supersign_game as $k => $v) { foreach($supersign_game as $k => $v) {
$arr['game_name'] = $v['game_name']; $arr['game_name'] = $v['game_name'];
$re_data = []; $re_data = [];
$curl['token'] = $v['token']; $curl['token'] = $v['supersign_token'];
$curl['limit'] = 2000; $curl['limit'] = 2000;
for ($i = 1;$i > 0;$i++) { for ($i = 1;$i > 0;$i++) {
if($i != 1) { if($i != 1) {
@ -2116,7 +2116,7 @@ class ExportController extends Controller
$map['game_id'] = $params['game_id']; $map['game_id'] = $params['game_id'];
} }
$map['supersign_token'] = ['NEQ','']; $map['supersign_token'] = ['NEQ',''];
$supersign_game = M('game', 'tab_')->field('tab_game.id,tab_game.game_name,tab_game.supersign_token')->join('tab_game_supersign on tab_game_supersign.game_id = tab_game.id')->where($map)->group('tab_game.id')->select(); $supersign_game = M('game', 'tab_')->field('id,game_name,supersign_token')->where(['supersign_token' => ['NEQ','']])->select();
$supersign_token = array_column($supersign_game, 'supersign_token'); $supersign_token = array_column($supersign_game, 'supersign_token');
$authorization_all_num = 0; $authorization_all_num = 0;
foreach($supersign_token as $k => $v) { foreach($supersign_token as $k => $v) {

Loading…
Cancel
Save