perf: 账单字段

This commit is contained in:
archer
2023-03-25 20:48:21 +08:00
parent 274ece1d91
commit 0cee404c7f
4 changed files with 7 additions and 6 deletions

View File

@@ -10,6 +10,7 @@ export const adaptBill = (bill: BillSchema): UserBillType => {
chatId: bill.chatId,
time: dayjs(bill.time).format('YYYY/MM/DD HH:mm:ss'),
textLen: bill.textLen,
tokenLen: bill.tokenLen,
price: formatPrice(bill.price)
};
};