shish 2 年 前
コミット
0419b835fb
1 ファイル変更3 行追加3 行削除
  1. 3 3
      biz/wx/classes/WxMessageClass.php

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

@@ -1367,7 +1367,7 @@ class WxMessageClass extends BaseClass
         $itemName = $bookItemCustomRes->name ?? '';
         $customName = $bookItemCustomRes->customName ?? '';
         $seatSn = $bookItemCustomRes->seatSn ?? 0;
-        $seatName = empty($seatSn) ? '无货位' : '货位' . $seatSn;
+        $seatName = empty($seatSn) ? '' : $seatSn;
         foreach ($adminList as $admin) {
             $openId = isset($admin['openId']) ? $admin['openId'] : '';
             if ($ptStyle == dict::getDict('ptStyle', 'ghs')) {
@@ -1378,8 +1378,8 @@ class WxMessageClass extends BaseClass
                 "template_id" => $tempId,
                 "url" => Yii::$app->params['ghsDomain'],
                 "data" => [
-                    "thing8" => ["value" => $customName],
-                    "thing10" => ["value" => $seatName . ' 下架' . $num . '份'],
+                    "thing8" => ["value" => $customName . ' ' . $seatName],
+                    "thing10" => ["value" => '请下架' . $num . '份'],
                     "thing7" => ["value" => $itemName],
                 ]
             ];