devskyfly / yii-module-iit-partners
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:module
Requires
- php: >=5.6.0
- devskyfly/yii-module-admin-panel: ^v1.0.0
- phpoffice/phpspreadsheet: 1.6.0
- yiisoft/yii2-httpclient: ^2.0
This package is auto-updated.
Last update: 2024-11-24 14:31:37 UTC
README
Модуль позволяет управлять сущностями:
- Регионы
- Населенные пункты
- Агенты
Модуль имеет свое rest api.
Консольные команды:
-
iit-partners/agents
-
iit-partners/agents/clear - delete agents items.
-
iit-partners/agents/reset-need-to-custom-flag
-
iit-partners/agents/update - update agents and add settlements if it needs.
-
iit-partners/lk
-
iit-partners/lk/send-request-for-agents - send request to Lk and print result to stdout.
-
iit-partners/lk/send-request-for-orgs
-
iit-partners/regions
-
iit-partners/regions/clear - clear regions.
-
iit-partners/regions/init - init region table from external file.
-
iit-partners/settlements
-
iit-partners/settlements/clear - delete Settlements items.
Подключение модуля
Модуль надо подключить как к web так и console.
'iit-partners'=>[ 'class'=>'devskyfly\yiiModuleIitPartners\Module', 'lk_login'=>'*', 'lk_pass'=>'*', 'lk_url'=>'', ]
Применение миграций
./yii migrate --migrationPath="@app/vendor/devskyfly/yii-module-iit-partners/migrations"