|
|
@@ -1084,7 +1084,7 @@ HTML;
|
|
|
'remark' => '点击查看订单详情'
|
|
|
];
|
|
|
@file_put_contents('quanju.txt', json_encode($postageData)."-测试模版消息\r\n", 8);
|
|
|
- if ($postageData['delivery_type'] == 'send') {//送货
|
|
|
+ if ($postageData['delivery_type'] == 'express') {//送货
|
|
|
$goodsName = StoreOrderCartInfo::getProductNameList($order['id']);
|
|
|
if ($order['is_channel'] == 1) {
|
|
|
//小程序送货模版消息
|
|
|
@@ -1108,7 +1108,7 @@ HTML;
|
|
|
@file_put_contents('quanju.txt', "-模版消息\r\n", 8);
|
|
|
WechatTemplateService::sendTemplate($openid, WechatTemplateService::ORDER_DELIVER_SUCCESS, $group, $url);
|
|
|
}
|
|
|
- } else if ($postageData['delivery_type'] == 'express') {//发货
|
|
|
+ } else if ($postageData['delivery_type'] == 'send') {//发货
|
|
|
if ($order['is_channel'] == 1) {
|
|
|
//小程序发货模版消息
|
|
|
RoutineTemplate::sendOrderPostage($order, 1);
|