|
@@ -133,6 +133,7 @@ class WxMessageClass extends BaseClass
|
|
|
}
|
|
}
|
|
|
$orderId = $order->id;
|
|
$orderId = $order->id;
|
|
|
$actPrice = $order->actPrice;
|
|
$actPrice = $order->actPrice;
|
|
|
|
|
+ $actPrice = floatval($actPrice);
|
|
|
|
|
|
|
|
$first = "您有新的订单,请注意查收";
|
|
$first = "您有新的订单,请注意查收";
|
|
|
$customName = $order->customName ?? '';
|
|
$customName = $order->customName ?? '';
|
|
@@ -159,7 +160,7 @@ class WxMessageClass extends BaseClass
|
|
|
"data" => [
|
|
"data" => [
|
|
|
"first" => ["value" => $first, "color" => "#173177"],
|
|
"first" => ["value" => $first, "color" => "#173177"],
|
|
|
"keyword1" => ["value" => $order->orderSn, "color" => "#173177"],
|
|
"keyword1" => ["value" => $order->orderSn, "color" => "#173177"],
|
|
|
- "keyword2" => ["value" => $actPrice, "color" => "#173177"],
|
|
|
|
|
|
|
+ "keyword2" => ["value" => $actPrice . $first, "color" => "#173177"],
|
|
|
"keyword3" => ["value" => date("Y-m-d H:i"), "color" => "#173177"],
|
|
"keyword3" => ["value" => date("Y-m-d H:i"), "color" => "#173177"],
|
|
|
"remark" => ["value" => "点击查看详情", "color" => "#173177"]
|
|
"remark" => ["value" => "点击查看详情", "color" => "#173177"]
|
|
|
]
|
|
]
|
|
@@ -167,7 +168,7 @@ class WxMessageClass extends BaseClass
|
|
|
|
|
|
|
|
if ($shop->id == 1212) {
|
|
if ($shop->id == 1212) {
|
|
|
noticeUtil::push("都市:{$order->orderSn} customName:{$first}", '15280215347');
|
|
noticeUtil::push("都市:{$order->orderSn} customName:{$first}", '15280215347');
|
|
|
- }else{
|
|
|
|
|
|
|
+ } else {
|
|
|
noticeUtil::push("新通知:{$order->orderSn} customName:{$first}", '15280215347');
|
|
noticeUtil::push("新通知:{$order->orderSn} customName:{$first}", '15280215347');
|
|
|
}
|
|
}
|
|
|
|
|
|