From 4abb0d8d2a4e23b9b2f652287cca8ce006272cd6 Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Tue, 11 Jun 2024 16:00:29 +0300 Subject: [PATCH] =?utf8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?utf8?q?=D0=B8=D0=B5=20=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81=D0=B0=20?= =?utf8?q?=D0=BD=D0=B0=20=D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B5=D0=BD=D0=B8?= =?utf8?q?=D0=B5=20=D0=BD=D0=BE=D0=B2=D0=BE=D0=B3=D0=BE=20=D1=82=D0=B8?= =?utf8?q?=D0=BF=D0=B0=20=D1=86=D0=B5=D0=BD=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/commands/CronController.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/erp24/commands/CronController.php b/erp24/commands/CronController.php index 56c13612..775bf6e8 100644 --- a/erp24/commands/CronController.php +++ b/erp24/commands/CronController.php @@ -57,6 +57,16 @@ class CronController extends Controller return 'ok'; } + //cron/one-c-price-msk + public function actionOneCPriceMsk() { + $req_id=time(); + $json_post='{"request_id": "'.$req_id.'","nomenclature":true,"sellers":true, "prices":{"type_price":"Розничная Маг на Московск"}, "balances":true, "payment_types":true}'; + + $this->setApiCron($req_id, $json_post); + + return 'ok'; + } + //cron/custom-one-c-cron public function actionCustomOneCCron() { $req_id=time(); -- 2.39.5