diff --git a/src/views/modules/baseapi/chianword/ChinaWord.api.ts b/src/views/modules/baseapi/chianword/ChinaWord.api.ts deleted file mode 100644 index 5e7d8aed5..000000000 --- a/src/views/modules/baseapi/chianword/ChinaWord.api.ts +++ /dev/null @@ -1,106 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity } from '/#/web' - -/** - * 分页 - */ -export function page(params) { - return defHttp.get>>({ - url: '/chinaword/page', - params, - }) -} - -/** - * 查询全部 - */ -export function findAll() { - return defHttp.get>({ - url: '/chinaword/findAll', - }) -} - -/** - * 获取单条 - */ -export function get(id) { - return defHttp.get>({ - url: '/chinaword/findById', - params: { id }, - }) -} - -/** - * 添加 - */ -export function add(obj: ChinaWord) { - return defHttp.post({ - url: '/chinaword/add', - data: obj, - }) -} - -/** - * 更新 - */ -export function update(obj: ChinaWord) { - return defHttp.post({ - url: '/chinaword/update', - data: obj, - }) -} - -/** - * 刷新缓存 - */ -export function refresh() { - return defHttp.post({ - url: '/chinaword/refresh', - }) -} - -/** - * 更新 - */ -export function verify(obj: any) { - return defHttp.post({ - url: '/chinaword/verify', - data: obj, - }) -} - -/** - * 删除 - */ -export function del(id) { - return defHttp.delete({ - url: '/chinaword/delete', - params: { id }, - }) -} -/** - * 批量删除 - */ -export function deleteBatch(ids) { - return defHttp.delete({ - url: '/chinaword/deleteBatch', - params: ids, - }) -} - -/** - * 敏感词黑名单 - */ -export interface ChinaWord extends BaseEntity { - // 敏感词 - word?: string - // 类型 - type?: string - // 描述 - description?: string - // 是否启用 - enable?: boolean - // 是否是白名单 - white?: boolean | string -} diff --git a/src/views/modules/baseapi/chianword/ChinaWordEdit.vue b/src/views/modules/baseapi/chianword/ChinaWordEdit.vue deleted file mode 100644 index e0b62ca25..000000000 --- a/src/views/modules/baseapi/chianword/ChinaWordEdit.vue +++ /dev/null @@ -1,147 +0,0 @@ - - - - - diff --git a/src/views/modules/baseapi/chianword/ChinaWordList.vue b/src/views/modules/baseapi/chianword/ChinaWordList.vue deleted file mode 100644 index e820bb733..000000000 --- a/src/views/modules/baseapi/chianword/ChinaWordList.vue +++ /dev/null @@ -1,262 +0,0 @@ - - - - - diff --git a/src/views/modules/baseapi/chianword/ChinaWordVerify.vue b/src/views/modules/baseapi/chianword/ChinaWordVerify.vue deleted file mode 100644 index 24d1c9da8..000000000 --- a/src/views/modules/baseapi/chianword/ChinaWordVerify.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - - - diff --git a/src/views/payment/record/close/PayCloseRecord.api.ts b/src/views/payment/record/close/PayCloseRecord.api.ts index 370727eea..7fdffcb63 100644 --- a/src/views/payment/record/close/PayCloseRecord.api.ts +++ b/src/views/payment/record/close/PayCloseRecord.api.ts @@ -32,6 +32,8 @@ export interface PayCloseRecord extends BaseEntity { bizOrderNo?: string // 关闭的支付通道 channel?: string + // 关闭类型 关闭/撤销 + closeType?: string // 是否关闭成功 closed?: boolean // 错误编码 @@ -41,4 +43,3 @@ export interface PayCloseRecord extends BaseEntity { // 客户端IP clientIp?: string } - diff --git a/src/views/payment/record/close/PayCloseRecordInfo.vue b/src/views/payment/record/close/PayCloseRecordInfo.vue index 72318b905..5896f8ef5 100644 --- a/src/views/payment/record/close/PayCloseRecordInfo.vue +++ b/src/views/payment/record/close/PayCloseRecordInfo.vue @@ -19,6 +19,9 @@ {{ dictConvert('PayChannel', form.channel) }} + + {{ dictConvert('PayCloseType', form.closeType) }} + {{ form.closed ? '是' : '否' }} diff --git a/src/views/payment/record/close/PayCloseRecordList.vue b/src/views/payment/record/close/PayCloseRecordList.vue index b9c8b4f25..a87433e34 100644 --- a/src/views/payment/record/close/PayCloseRecordList.vue +++ b/src/views/payment/record/close/PayCloseRecordList.vue @@ -22,20 +22,25 @@ - + + + + - + - - - + + +