при отправке запроса будем подставлять User-Agent и разрешен редирект

This commit is contained in:
2024-08-16 14:31:52 +03:00
parent f304814043
commit f7bbcf41a6
2 changed files with 9 additions and 3 deletions

View File

@ -21,7 +21,7 @@ final class ContingentManager
{
// select kod as org_id, site from niimko.s_vuzes
// where ootype = 'vuz' and deleted = 'n' and fake = 'n'
$params = ['vuz', 'n', 'n'];
$params = ['vuz', 'n', 'n', 'RU'];
$query = $this->builder->select()
->setTable('s_vuzes')
->setColumns(['org_id' => 'kod', 'site'])