feat: 拆分文本账单结算
This commit is contained in:
@@ -6,6 +6,7 @@ import type { UserBillType } from '@/types/user';
|
||||
export const adaptBill = (bill: BillSchema): UserBillType => {
|
||||
return {
|
||||
id: bill._id,
|
||||
type: bill.type,
|
||||
userId: bill.userId,
|
||||
chatId: bill.chatId,
|
||||
time: dayjs(bill.time).format('YYYY/MM/DD HH:mm:ss'),
|
||||
|
||||
Reference in New Issue
Block a user