From: Alexander Smirnov Date: Wed, 27 Dec 2023 19:05:30 +0000 (+0300) Subject: add cron/cloudpayments-region during moving api1 to yii X-Git-Tag: 1.1~195^2~3 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=9298c5921177a201626102fa631f64b9e6b382a1;p=erp24_rep%2Fyii-erp24%2F.git add cron/cloudpayments-region during moving api1 to yii --- diff --git a/erp24/api1/actions/cron/CloudpaymentsRegionAction.php b/erp24/api1/actions/cron/CloudpaymentsRegionAction.php new file mode 100644 index 00000000..fcd577ba --- /dev/null +++ b/erp24/api1/actions/cron/CloudpaymentsRegionAction.php @@ -0,0 +1,12 @@ +controller->renderPartial('cloudpayments-region'); + } +} \ No newline at end of file diff --git a/erp24/api1/controllers/CronController.php b/erp24/api1/controllers/CronController.php index 29921611..488f97e1 100644 --- a/erp24/api1/controllers/CronController.php +++ b/erp24/api1/controllers/CronController.php @@ -17,6 +17,7 @@ class CronController extends BaseController 'custom-1c-cron' => \app\actions\cron\Custom1cCronAction::class, 'balances-history' => \app\actions\cron\BalanceHistoryAction::class, 'export-catalog' => \app\actions\cron\ExportCatalogAction::class, + 'cloudpayments-region' => \app\actions\cron\CloudpaymentsRegionAction::class, ]; } } diff --git a/erp24/api1/views/cron/cloudpayments-region.php b/erp24/api1/views/cron/cloudpayments-region.php new file mode 100644 index 00000000..b8906934 --- /dev/null +++ b/erp24/api1/views/cron/cloudpayments-region.php @@ -0,0 +1,10 @@ +