|
@@ -822,7 +822,7 @@ async function generateBillMessage(chatId) {
|
|
|
|
|
|
// 添加入款记录(只显示当天的)
|
|
// 添加入款记录(只显示当天的)
|
|
if (todayRecords && todayRecords.length > 0) {
|
|
if (todayRecords && todayRecords.length > 0) {
|
|
- message += `<b>入款笔数</b>:<code>${todayRecords.length}</code>\n`;
|
|
|
|
|
|
+ message += `<b>入款笔数</b>:<code>${todayRecords.length}</code>(最近记录)\n`;
|
|
todayRecords.forEach(deposit => {
|
|
todayRecords.forEach(deposit => {
|
|
message += `<code>${moment(deposit.time).format('HH:mm:ss')} ${parseFloat(deposit.amount).toFixed(2)}</code>\n`;
|
|
message += `<code>${moment(deposit.time).format('HH:mm:ss')} ${parseFloat(deposit.amount).toFixed(2)}</code>\n`;
|
|
});
|
|
});
|