shish 1 год назад
Родитель
Сommit
f9cedc2019
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      console/controllers/LiveOrderController.php

+ 2 - 0
console/controllers/LiveOrderController.php

@@ -6,6 +6,7 @@ use biz\shop\classes\ShopClass;
 use bizGhs\live\classes\LiveOrderClass;
 use bizGhs\live\classes\LiveOrderCustomClass;
 use bizGhs\live\classes\LiveSeatClass;
+use common\components\dict;
 use common\components\noticeUtil;
 use bizGhs\custom\classes\CustomClass;
 use bizGhs\order\services\OrderService;
@@ -24,6 +25,7 @@ class LiveOrderController extends Controller
         if (empty($shopList)) {
             return false;
         }
+        Yii::$app->params['ptStyle'] = dict::getDict('ptStyle', 'ghs');
         foreach ($shopList as $shop) {
             $mainId = $shop->mainId;
             $shopName = $shop->shopName ?? '';