shish 2 лет назад
Родитель
Сommit
f3f4a7f543
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      app-hd/controllers/ConsoleController.php

+ 0 - 4
app-hd/controllers/ConsoleController.php

@@ -116,11 +116,7 @@ class ConsoleController extends BaseController
     public function actionInit()
     {
         $dict = dict::get();
-        $mainId = $this->mainId;
-        $dict['kmPackCost'] = PurchaseClass::getKmPackCost($mainId);
-
         $shop = isset($this->shop) && !empty($this->shop) ? $this->shop->attributes : [];
-
         util::success(['dict' => $dict, 'shop' => $shop]);
     }