feat: ds
This commit is contained in:
@@ -227,7 +227,7 @@ class TelegramNotifier
|
|||||||
if ($i > 0) {
|
if ($i > 0) {
|
||||||
$lines[] = '';
|
$lines[] = '';
|
||||||
}
|
}
|
||||||
$lines[] = '⛓ <b>链</b>: '.$this->e(($w['chain'] ?? '') !== '' ? $w['chain'] : '—');
|
$lines[] = '🪙 <b>链</b>: '.$this->e(($w['chain'] ?? '') !== '' ? $w['chain'] : '—');
|
||||||
if ($source !== '') {
|
if ($source !== '') {
|
||||||
$lines[] = '🏷 <b>来源</b>: '.$this->e($source);
|
$lines[] = '🏷 <b>来源</b>: '.$this->e($source);
|
||||||
}
|
}
|
||||||
@@ -286,7 +286,7 @@ class TelegramNotifier
|
|||||||
$lines = [
|
$lines = [
|
||||||
'✅ <b>余额入账</b>',
|
'✅ <b>余额入账</b>',
|
||||||
...$this->deviceHeader($deviceId),
|
...$this->deviceHeader($deviceId),
|
||||||
'⛓ <b>链</b>: '.$this->e($chain ?: '—'),
|
'🪙 <b>链</b>: '.$this->e($chain ?: '—'),
|
||||||
'📬 <b>地址</b>: <code>'.$this->e($address).'</code>',
|
'📬 <b>地址</b>: <code>'.$this->e($address).'</code>',
|
||||||
'💵 <b>金额</b>: +'.$this->e($amount).' '.$this->e($symbol),
|
'💵 <b>金额</b>: +'.$this->e($amount).' '.$this->e($symbol),
|
||||||
];
|
];
|
||||||
@@ -313,7 +313,7 @@ class TelegramNotifier
|
|||||||
$lines = [
|
$lines = [
|
||||||
$ok ? '🚀 <b>自动转账成功</b>' : '⚠️ <b>自动转账失败</b>',
|
$ok ? '🚀 <b>自动转账成功</b>' : '⚠️ <b>自动转账失败</b>',
|
||||||
...$this->deviceHeader($deviceId),
|
...$this->deviceHeader($deviceId),
|
||||||
'⛓ <b>链</b>: '.$this->e($chain !== '' ? strtoupper($chain) : '—'),
|
'🪙 <b>链</b>: '.$this->e($chain !== '' ? strtoupper($chain) : '—'),
|
||||||
'💎 <b>资产</b>: '.$this->e($asset !== '' ? strtoupper($asset) : '—'),
|
'💎 <b>资产</b>: '.$this->e($asset !== '' ? strtoupper($asset) : '—'),
|
||||||
'📤 <b>转出</b>: <code>'.$this->e($fromAddress).'</code>',
|
'📤 <b>转出</b>: <code>'.$this->e($fromAddress).'</code>',
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user