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