|
@@ -92,7 +92,9 @@ class SoccerNoteListController extends Controller
|
|
|
$dt->addColsFields('money_match_time', array('templet' => '#userdetail', 'sort' => false, 'width' => 200));
|
|
$dt->addColsFields('money_match_time', array('templet' => '#userdetail', 'sort' => false, 'width' => 200));
|
|
|
$dt->addColsFields('order_status', array('sort' => false, 'width' => 80));
|
|
$dt->addColsFields('order_status', array('sort' => false, 'width' => 80));
|
|
|
$dt->addColsFields('account_money', array('templet' => '#userdetail', 'sort' => false, 'width' => 110));
|
|
$dt->addColsFields('account_money', array('templet' => '#userdetail', 'sort' => false, 'width' => 110));
|
|
|
- $dt->addColsFields('game_status', array('templet' => '#game_status', 'sort' => false, 'width' => 114));
|
|
|
|
|
|
|
+ // $dt->addColsFields('game_status', array('templet' => '#game_status', 'sort' => false, 'width' => 114));
|
|
|
|
|
+ $dt->addColsFields('game_status', array( 'sort' => false, 'width' => 114));
|
|
|
|
|
+
|
|
|
//$arr[] = 'view';
|
|
//$arr[] = 'view';
|
|
|
// if (checkRriv('/admin/SoccerNoteList/edit')) {
|
|
// if (checkRriv('/admin/SoccerNoteList/edit')) {
|
|
|
// $arr[] = 'edit';
|
|
// $arr[] = 'edit';
|
|
@@ -151,7 +153,7 @@ class SoccerNoteListController extends Controller
|
|
|
}
|
|
}
|
|
|
$where[] = array('money_buy_simplex.game_code', $type);
|
|
$where[] = array('money_buy_simplex.game_code', $type);
|
|
|
$newapp = new \App\Models\SportsNoteList();
|
|
$newapp = new \App\Models\SportsNoteList();
|
|
|
- $data = $newapp->info($list, $page, $where, $type);
|
|
|
|
|
|
|
+ $data = $newapp->getinfo($list, $page, $where, $type);
|
|
|
//$alldata = Models\MoneyBuyMatch::where('bet_type',1)->where('is_rolling',1)->distinct('order_id')->count('order_id');
|
|
//$alldata = Models\MoneyBuyMatch::where('bet_type',1)->where('is_rolling',1)->distinct('order_id')->count('order_id');
|
|
|
return \App\Lib\DataTable\DataTable::init()->toJson($data['data'], $data['total'], 0, $where);
|
|
return \App\Lib\DataTable\DataTable::init()->toJson($data['data'], $data['total'], 0, $where);
|
|
|
}
|
|
}
|