|
...
|
...
|
@@ -18,6 +18,7 @@ use App\Models\Project\Project; |
|
|
|
use App\Models\RouteMap\RouteMap;
|
|
|
|
use App\Models\WebSetting\WebLanguage;
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -169,7 +170,9 @@ class CNoticeController extends BaseController |
|
|
|
$ids = explode(',',$info['country_lists']);
|
|
|
|
}
|
|
|
|
$languageModel = new WebLanguage();
|
|
|
|
$lists = $languageModel->list(['id'=>['in',$ids]]);
|
|
|
|
//根据排序查询选中的小语种
|
|
|
|
$lists = $languageModel->whereIn('id', $ids)->orderByRaw(DB::raw("FIND_IN_SET(id,'" . implode(',', $ids) . "'" . ')'))->get()->toArray();
|
|
|
|
// $lists = $languageModel->list(['id'=>['in',$ids]]);
|
|
|
|
$this->response('success',Code::SUCCESS,$lists);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|