|
@@ -256,8 +256,8 @@ class SportsSoccerController extends Controller {
|
|
|
return -1;
|
|
return -1;
|
|
|
}
|
|
}
|
|
|
if (!$req->isMethod('post')) {
|
|
if (!$req->isMethod('post')) {
|
|
|
- $country = $this->getCountry();
|
|
|
|
|
- $countrys = $this->getCountry();
|
|
|
|
|
|
|
+ // $country = $this->getCountry();
|
|
|
|
|
+ // $countrys = $this->getCountry();
|
|
|
$data = \App\Models\SportsSoccer::where('id', $id)->first();
|
|
$data = \App\Models\SportsSoccer::where('id', $id)->first();
|
|
|
if (!$data) {
|
|
if (!$data) {
|
|
|
return -2;
|
|
return -2;
|
|
@@ -300,8 +300,8 @@ class SportsSoccerController extends Controller {
|
|
|
$data->name_chinese = $name_chinese->name_chinese;
|
|
$data->name_chinese = $name_chinese->name_chinese;
|
|
|
$data = $data->toArray();
|
|
$data = $data->toArray();
|
|
|
$data['parents'] = $this->getParent();
|
|
$data['parents'] = $this->getParent();
|
|
|
- $data['country'] = $country;
|
|
|
|
|
- $data['countrys'] = $countrys;
|
|
|
|
|
|
|
+ // $data['country'] = $country;
|
|
|
|
|
+ // $data['countrys'] = $countrys;
|
|
|
|
|
|
|
|
$data['match_status'] = $match_status;
|
|
$data['match_status'] = $match_status;
|
|
|
|
|
|