|
|
@@ -1993,12 +1993,25 @@ class OrderClass extends BaseClass
|
|
|
$content .= "<BR>";
|
|
|
$content .= "<BR>";
|
|
|
|
|
|
- $ext = ShopExtClass::getByCondition(['shopId' => $shopId]);
|
|
|
- $printSn = $ext['printSn'] ?? '';
|
|
|
+ $ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
|
|
|
+ $printSn = $ext->printSn ?? '';
|
|
|
if (!empty($printSn)) {
|
|
|
$p = new printUtil($printSn);
|
|
|
$p->printMsg($content, $shop, $orderSn);
|
|
|
}
|
|
|
+
|
|
|
+ /**************************如果是好多花的云仓还要再打一下标签纸*****************************/
|
|
|
+ $mainId = $shop->mainId;
|
|
|
+ if (getenv('YII_ENV') == 'production') {
|
|
|
+ $map = [65726];
|
|
|
+ } else {
|
|
|
+ $map = [644];
|
|
|
+ }
|
|
|
+ if (in_array($mainId, $map)) {
|
|
|
+ self::printLogisticsLabel($orderInfo, $shop, $ext);
|
|
|
+ }
|
|
|
+ /*************************如果是好多花的云仓还要再打一下标签纸******************************/
|
|
|
+
|
|
|
}
|
|
|
|
|
|
//打印数据 ssh 20210702
|