|
|
@@ -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]);
|
|
|
}
|
|
|
|