|
|
@@ -380,6 +380,7 @@ class WxMessageClass extends BaseClass
|
|
|
return false;
|
|
|
}
|
|
|
$actPrice = $order->actPrice;
|
|
|
+ $actPrice = floatval($actPrice);
|
|
|
$name = $custom->name ?? '';
|
|
|
$customId = $custom->id;
|
|
|
$adminList = ShopAdminClass::getRemainAdmin($shop);
|
|
|
@@ -399,9 +400,9 @@ class WxMessageClass extends BaseClass
|
|
|
"template_id" => $tempId,
|
|
|
"url" => Yii::$app->params['ghsDomain'],
|
|
|
"data" => [
|
|
|
- "first" => ["value" => "{$name}结帐付款{$actPrice}元", "color" => "#173177"],
|
|
|
- "keyword1" => ["value" => $actPrice, "color" => "#173177"],
|
|
|
- "keyword2" => ["value" => '客户结帐', "color" => "#173177"],
|
|
|
+ "first" => ["value" => "", "color" => "#173177"],
|
|
|
+ "keyword1" => ["value" => '¥' . $actPrice, "color" => "#173177"],
|
|
|
+ "keyword2" => ["value" => "{$name}结账付款{$actPrice}元", "color" => "#173177"],
|
|
|
"keyword3" => ["value" => date("Y-m-d H:i"), "color" => "#173177"],
|
|
|
"remark" => ["value" => "点击查看详情", "color" => "#173177"]
|
|
|
]
|