]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Добавление запроса на получение нового типа цены
authorAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Tue, 11 Jun 2024 13:00:29 +0000 (16:00 +0300)
committerAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Tue, 11 Jun 2024 13:00:29 +0000 (16:00 +0300)
erp24/commands/CronController.php

index 56c13612912fe5227fa677277847a3e68954c8f6..775bf6e83eceffac88cafe668bcf43da05c25ba1 100644 (file)
@@ -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();