diff --git a/src/views/payment/channel/cash/record/CashRecord.api.ts b/src/views/payment/channel/cash/record/CashRecord.api.ts new file mode 100644 index 000000000..55d874576 --- /dev/null +++ b/src/views/payment/channel/cash/record/CashRecord.api.ts @@ -0,0 +1,39 @@ +import { defHttp } from '/@/utils/http/axios' +import { Result, PageResult } from '/#/axios' +import { BaseEntity } from '/#/web' + +/** + * 分页 + */ +export function page(params) { + return defHttp.get>>({ + url: '/cash/record/page', + params, + }) +} + +/** + * 详情 + */ +export function get(id) { + return defHttp.get>({ + url: '/cash/record/findById', + params: { id }, + }) +} + +/** + * 现金记录 + */ +export interface CashRecord extends BaseEntity { + // 类型 + type: string + // 金额 + amount: string + // 交易订单号 + orderId: string + // 地址 + ip: string + // 备注 + remark: string +} diff --git a/src/views/payment/channel/cash/record/CashRecordList.vue b/src/views/payment/channel/cash/record/CashRecordList.vue new file mode 100644 index 000000000..4e6e6c35d --- /dev/null +++ b/src/views/payment/channel/cash/record/CashRecordList.vue @@ -0,0 +1,100 @@ + + + + + diff --git a/src/views/payment/channel/voucher/record/VoucherRecordList.vue b/src/views/payment/channel/voucher/record/VoucherRecordList.vue index d6548bda9..5c4c92772 100644 --- a/src/views/payment/channel/voucher/record/VoucherRecordList.vue +++ b/src/views/payment/channel/voucher/record/VoucherRecordList.vue @@ -19,6 +19,8 @@ + + +