shish 2 лет назад
Родитель
Сommit
cc7d594f23
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      biz/wx/classes/WxMessageClass.php

+ 1 - 3
biz/wx/classes/WxMessageClass.php

@@ -234,8 +234,6 @@ class WxMessageClass extends BaseClass
         $orderSn = $cg->orderSn ?? '';
         $num = $cg->printNum ?? 0;
         $ptStyle = $shop->ptStyle;
-        $ghsName = $cg->ghsName ?? '';
-        $ghsName = substr($ghsName, 0, 6);
         $staffName = $cg->shopAdminName ?? '';
         $wxBase = WxOpenClass::getWxBase();
         $wx = $wxBase[$ptStyle] ?? [];
@@ -261,7 +259,7 @@ class WxMessageClass extends BaseClass
                     "url" => Yii::$app->params['ghsDomain'],
                     "data" => [
                         "character_string20" => ["value" => $orderSn],
-                        "thing10" => ["value" => $ghsName],
+                        "thing10" => ["value" => '供货商订单'],
                         "thing17" => ["value" => "采购单打印了{$num}次"],
                         "thing23" => ["value" => $staffName],
                     ]