shish 1 년 전
부모
커밋
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 ?? '';