no message
This commit is contained in:
parent
d82caed022
commit
6495b46ec4
@ -339,8 +339,12 @@ final class HookController
|
|||||||
|
|
||||||
$sMsg = '';
|
$sMsg = '';
|
||||||
foreach ($aOrderList as $row) {
|
foreach ($aOrderList as $row) {
|
||||||
|
if (!$coupon) {
|
||||||
|
$coupon = '无';
|
||||||
|
}
|
||||||
|
$coupon = str_replace('.', '#', $row['coupon']);
|
||||||
$sMsg .= "\n\n";
|
$sMsg .= "\n\n";
|
||||||
$sMsg .= $row['coupon'].' - '.$row['total_price'].' / ' . $row['total'];
|
$sMsg .= $coupon . ' - ' . $row['total_price'] . ' / ' . $row['total'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->sendMessage($sMsg);
|
$this->sendMessage($sMsg);
|
||||||
@ -357,8 +361,6 @@ final class HookController
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 节点列表(简洁)
|
// 节点列表(简洁)
|
||||||
// /nodeList
|
// /nodeList
|
||||||
if (strpos($sText, '/nodeList') === 0 || strpos($sText, '\/nodeList') === 0) {
|
if (strpos($sText, '/nodeList') === 0 || strpos($sText, '\/nodeList') === 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user