shish 2 years ago
parent
commit
f3f4a7f543
1 changed files with 0 additions and 4 deletions
  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]);
     }