|
...
|
...
|
@@ -17,6 +17,7 @@ use App\Models\Com\UpdateProgress; |
|
|
|
use App\Models\Project\Country as CountryModel;
|
|
|
|
use App\Models\Project\Project;
|
|
|
|
use App\Models\RouteMap\RouteMap;
|
|
|
|
use App\Models\WebSetting\WebLanguage;
|
|
|
|
use App\Models\WebSetting\WebSettingCountry;
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
use Illuminate\Support\Facades\Redis;
|
|
...
|
...
|
@@ -186,13 +187,8 @@ class CNoticeController extends BaseController |
|
|
|
if($info !== false){
|
|
|
|
$ids = explode(',',$info['country_lists']);
|
|
|
|
}
|
|
|
|
$webSettingCountryModel = new WebSettingCountry();
|
|
|
|
$lists = $webSettingCountryModel->list(['id'=>['in',$ids]],'id',['id','name','country_img']);
|
|
|
|
if (!empty($lists)){
|
|
|
|
foreach ($lists as $k => $v){
|
|
|
|
$lists[$k]['image_link'] = url('upload/country/' . $v['country_img']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$languageModel = new WebLanguage();
|
|
|
|
$lists = $languageModel->list(['id'=>['in',$ids]]);
|
|
|
|
$this->response('success',Code::SUCCESS,$lists);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|