|
@@ -237,7 +237,7 @@ class SportswqController extends Controller {
|
|
|
$match_id = $req->matchid;
|
|
$match_id = $req->matchid;
|
|
|
$model = \App\Models\Stwqresult::where('match_id', $match_id)->first();
|
|
$model = \App\Models\Stwqresult::where('match_id', $match_id)->first();
|
|
|
$match = \App\Models\SportsTennis::where('id', $match_id)->first();
|
|
$match = \App\Models\SportsTennis::where('id', $match_id)->first();
|
|
|
- $match_status = $match->status;
|
|
|
|
|
|
|
+ $match_status = $match['status'];
|
|
|
|
|
|
|
|
$data = array(
|
|
$data = array(
|
|
|
"1" => array(
|
|
"1" => array(
|