|
|
@@ -320,8 +320,8 @@ class SportsSoccerController extends Controller {
|
|
|
$cp_id = $req->id;
|
|
|
$request['status'] = isset($req->status) ? trim($req->status) : '-1';
|
|
|
$request['p_code'] = isset($req->p_code) ? trim($req->p_code) : '-1';
|
|
|
- $request['id'] = isset($req->id) ? trim($req->id) : null;
|
|
|
- $newapp = \App\Models\SportsSoccer::where('match_id',$request['id'])->first();
|
|
|
+ $request['match_id'] = isset($req->match_id) ? trim($req->match_id) : null;
|
|
|
+ $newapp = \App\Models\SportsSoccer::where('match_id',$request['match_id'])->first();
|
|
|
// $match_id = $newapp->match_id;
|
|
|
if(empty($newapp)){
|
|
|
$match_id = $req->input('match_id');
|