From: Alexander Smirnov Date: Wed, 27 Dec 2023 12:57:12 +0000 (+0300) Subject: add cron/cloudpayments during moving api1 to yii X-Git-Tag: 1.1~195^2~9 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=25030df7295d1d08abefde0f767d4be2f52c83ea;p=erp24_rep%2Fyii-erp24%2F.git add cron/cloudpayments during moving api1 to yii --- diff --git a/erp24/api1/actions/cron/CloudPaymentsAction.php b/erp24/api1/actions/cron/CloudPaymentsAction.php new file mode 100644 index 00000000..51212a99 --- /dev/null +++ b/erp24/api1/actions/cron/CloudPaymentsAction.php @@ -0,0 +1,22 @@ +controller->asJson(['response' => true]); + } +} \ No newline at end of file diff --git a/erp24/api1/controllers/CronController.php b/erp24/api1/controllers/CronController.php index d8241b49..d2baaac6 100644 --- a/erp24/api1/controllers/CronController.php +++ b/erp24/api1/controllers/CronController.php @@ -11,6 +11,7 @@ class CronController extends BaseController return [ '1c' => \app\actions\cron\OneCAction::class, 'amo142' => \app\actions\cron\Amo142Action::class, + 'cloudpayments' => \app\actions\cron\CloudPaymentsAction::class, ]; } }