|
|
@@ -32,6 +32,7 @@ class SoccerStringNoteListController extends Controller
|
|
|
$request['status'] = isset($req->status) ? trim($req->status) : '-1';
|
|
|
$request['match_id'] = isset($req->match_id) ? trim($req->match_id) : '';
|
|
|
$request['order_status'] = isset($req->order_status) ? trim($req->order_status) : '-1';
|
|
|
+
|
|
|
$dt = \App\Lib\DataTable\DataTable::init();
|
|
|
$dt->setDataSource('/admin/SoccerStringNoteList/info');
|
|
|
$dt->setLang('sportsnotelist');
|
|
|
@@ -67,6 +68,7 @@ class SoccerStringNoteListController extends Controller
|
|
|
$status = Request::has('status') ? Request::get('status') : '';
|
|
|
$order_status = Request::has('order_status') ? Request::get('order_status') : '';
|
|
|
$sureblur = Request::has('sureblurs') ? Request::get('sureblurs') : 'off';
|
|
|
+
|
|
|
$where = array();
|
|
|
if (!empty($account)) {
|
|
|
if (empty($sureblur) || $sureblur == 'off') {
|
|
|
@@ -100,6 +102,8 @@ class SoccerStringNoteListController extends Controller
|
|
|
for($i=0;$i<count($csorder);$i++){
|
|
|
$ids[] = $csorder[$i]['order_id'];
|
|
|
}
|
|
|
+ }else{
|
|
|
+ return \App\Lib\DataTable\DataTable::init()->toJson([]);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -130,6 +134,7 @@ class SoccerStringNoteListController extends Controller
|
|
|
$newapp = new \App\Models\MoneyBuyStr();
|
|
|
$data = $newapp->getinfo($list, $page, $where,$ids);
|
|
|
|
|
|
+
|
|
|
return \App\Lib\DataTable\DataTable::init()->toJson($data['data'], $data['total'], 0, $where);
|
|
|
}
|
|
|
|