diff --git a/src/settings/siteSetting.ts b/src/settings/siteSetting.ts
index ec0cd798995619697251aa5119ce66f46df59b41..0ae290dc5fd847b74de4f12c00803d6ee8ecd3ed 100644
--- a/src/settings/siteSetting.ts
+++ b/src/settings/siteSetting.ts
@@ -1,11 +1,11 @@
// github repo url
-export const GITHUB_URL = 'https://github.com/xxm1995/bootx-platform'
+export const GITHUB_URL = 'https://github.com/dromara/dax-pay'
// gitee repo url
-export const GITEE_URL = 'https://gitee.com/bootx/bootx-platform'
+export const GITEE_URL = 'https://gitee.com/dromara/dax-pay'
// 文档地址
-export const DOC_URL = 'https://gitee.com/bootx/bootx-platform'
+export const DOC_URL = 'https://bootx.gitee.io/'
// 预览地址
-export const SITE_URL = 'http://v3.platform.bootx.cn/'
+export const SITE_URL = 'https://daxpay.demo.bootx.cn/'
diff --git a/src/views/payment/channel/alipay/record/AlipayRecord.api.ts b/src/views/payment/channel/alipay/record/AlipayRecord.api.ts
index b975a99d713780495a1d9d0817cfd69ad6c53473..551dc629920d0ded9f806222692ee012fc192043 100644
--- a/src/views/payment/channel/alipay/record/AlipayRecord.api.ts
+++ b/src/views/payment/channel/alipay/record/AlipayRecord.api.ts
@@ -38,4 +38,6 @@ export interface AlipayRecord extends BaseEntity {
gatewayOrderNo?: string
// 终端ip
ip?: string
+ // 网关时间
+ gatewayTime?: string
}
diff --git a/src/views/payment/channel/alipay/record/AlipayRecordInfo.vue b/src/views/payment/channel/alipay/record/AlipayRecordInfo.vue
index 9eeb08d87cec70811e8137a940af455b28bb19e8..5ef9cac798f28f2b383f2617ad2950d15e8b3f97 100644
--- a/src/views/payment/channel/alipay/record/AlipayRecordInfo.vue
+++ b/src/views/payment/channel/alipay/record/AlipayRecordInfo.vue
@@ -25,6 +25,9 @@
{{ dictConvert('AlipayRecordType', alipayRecord.type) }}
+
+ {{ alipayRecord.gatewayTime }}
+
{{ alipayRecord.createTime }}
diff --git a/src/views/payment/channel/alipay/record/AlipayRecordList.vue b/src/views/payment/channel/alipay/record/AlipayRecordList.vue
index 20e5d7c78fba181bedaaa8c5ef19b56078f97f94..0a2626548a800de5c6ad9bf8795ec25feecf510e 100644
--- a/src/views/payment/channel/alipay/record/AlipayRecordList.vue
+++ b/src/views/payment/channel/alipay/record/AlipayRecordList.vue
@@ -23,7 +23,7 @@
-
+
查看
diff --git a/src/views/payment/channel/wechat/record/WechatPayRecord.api.ts b/src/views/payment/channel/wechat/record/WechatPayRecord.api.ts
index c88f51404ceadd0338691f2d909d046f4fc97f0e..28cdaa2f07175d52ff2a8d67c58392e19e510d9c 100644
--- a/src/views/payment/channel/wechat/record/WechatPayRecord.api.ts
+++ b/src/views/payment/channel/wechat/record/WechatPayRecord.api.ts
@@ -38,4 +38,6 @@ export interface WechatPayRecord extends BaseEntity {
gatewayOrderNo?: string
// 终端ip
ip?: string
+ // 网关时间
+ gatewayTime?: string
}
diff --git a/src/views/payment/channel/wechat/record/WechatPayRecordInfo.vue b/src/views/payment/channel/wechat/record/WechatPayRecordInfo.vue
index 667ceb8125521031633f59037cda372a86455100..16b3097eaf4a5316334ba4ca94ee5b96619ed9f8 100644
--- a/src/views/payment/channel/wechat/record/WechatPayRecordInfo.vue
+++ b/src/views/payment/channel/wechat/record/WechatPayRecordInfo.vue
@@ -25,6 +25,9 @@
{{ dictConvert('WechatPayRecordType', wechatPayRecord.type) }}
+
+ {{ wechatPayRecord.gatewayTime }}
+
{{ wechatPayRecord.createTime }}
diff --git a/src/views/payment/channel/wechat/record/WechatPayRecordList.vue b/src/views/payment/channel/wechat/record/WechatPayRecordList.vue
index de9e37ba98cdbab93e55303c08a08a4e8259894d..b97b843ab07179f5cb435c7cdbddb282c4f2502d 100644
--- a/src/views/payment/channel/wechat/record/WechatPayRecordList.vue
+++ b/src/views/payment/channel/wechat/record/WechatPayRecordList.vue
@@ -23,7 +23,7 @@
-
+
查看
diff --git a/src/views/payment/order/pay/PayOrderList.vue b/src/views/payment/order/pay/PayOrderList.vue
index 1faf77087ddde06646cc45f2c4222a6526675694..73fc9819b56290640d4ecf89dcc504d7e449f3a3 100644
--- a/src/views/payment/order/pay/PayOrderList.vue
+++ b/src/views/payment/order/pay/PayOrderList.vue
@@ -110,7 +110,7 @@
// 查询条件
const fields = computed(() => {
return [
- { field: 'paymentId', type: STRING, name: '支付ID', placeholder: '请输入完整支付ID' },
+ { field: 'id', type: STRING, name: '支付ID', placeholder: '请输入完整支付ID' },
{ field: 'businessNo', type: STRING, name: '业务号', placeholder: '请输入业务号' },
{ field: 'gatewayOrderNo', type: STRING, name: '网关订单号', placeholder: '请输入完整网关订单号' },
{ field: 'title', type: STRING, name: '标题', placeholder: '请输入标题' },
diff --git a/src/views/payment/order/reconcile/detail/ReconcileDetail.api.ts b/src/views/payment/order/reconcile/detail/ReconcileDetail.api.ts
new file mode 100644
index 0000000000000000000000000000000000000000..65b013c39b3fb1d2db6f0032b792eb10ecf2a6fb
--- /dev/null
+++ b/src/views/payment/order/reconcile/detail/ReconcileDetail.api.ts
@@ -0,0 +1,43 @@
+import { defHttp } from '/@/utils/http/axios'
+import { PageResult, Result } from '/#/axios'
+import { BaseEntity } from '/#/web'
+
+/**
+ * 明细分页
+ */
+export function page(params) {
+ return defHttp.get>>({
+ url: '/order/reconcile/detail/page',
+ params,
+ })
+}
+
+/**
+ * 明细详情
+ */
+export function get(id: string) {
+ return defHttp.get>({
+ url: '/order/reconcile/detail/findById',
+ params: { id },
+ })
+}
+
+/**
+ * 通用支付对账记录
+ */
+export interface ReconcileDetail extends BaseEntity {
+ // 关联对账订单ID
+ recordOrderId?: string
+ // 交易类型
+ type?: string
+ // 订单id
+ paymentId?: string
+ // 订单id
+ refundId?: string
+ // 网关订单号
+ gatewayOrderNo?: string
+ // 交易金额
+ amount?: string
+ // 商品名称
+ title?: string
+}
diff --git a/src/views/payment/order/reconcile/ReconcileDetailInfo.vue b/src/views/payment/order/reconcile/detail/ReconcileDetailInfo.vue
similarity index 82%
rename from src/views/payment/order/reconcile/ReconcileDetailInfo.vue
rename to src/views/payment/order/reconcile/detail/ReconcileDetailInfo.vue
index 709fb72d923d55b024a10646b0b42b07a2ea283e..ba63d63d538308746156da0b34394a7434603344 100644
--- a/src/views/payment/order/reconcile/ReconcileDetailInfo.vue
+++ b/src/views/payment/order/reconcile/detail/ReconcileDetailInfo.vue
@@ -15,17 +15,14 @@
{{ form.amount }}
-
- {{ form.paymentId }}
-
-
- {{ form.refundId }}
+
+ {{ form.orderId }}
{{ form.gatewayOrderNo }}
- {{ dictConvert('PayReconcileTrade', form.type) }}
+ {{ dictConvert('ReconcileTrade', form.type) }}
{{ form.createTime }}
@@ -44,7 +41,7 @@
import { FormInstance } from 'ant-design-vue/lib/form'
import { BasicModal } from '/@/components/Modal'
import { useDict } from '/@/hooks/bootx/useDict'
- import { getDetail, ReconcileDetail } from './ReconcileOrder.api'
+ import { get, ReconcileDetail } from './ReconcileDetail.api'
const {
initFormEditType,
handleCancel,
@@ -70,7 +67,7 @@
function init(record) {
visible.value = true
confirmLoading.value = true
- getDetail(record.id).then(({ data }) => {
+ get(record.id).then(({ data }) => {
form = data
confirmLoading.value = false
})
diff --git a/src/views/payment/order/reconcile/ReconcileDetailList.vue b/src/views/payment/order/reconcile/detail/ReconcileDetailList.vue
similarity index 76%
rename from src/views/payment/order/reconcile/ReconcileDetailList.vue
rename to src/views/payment/order/reconcile/detail/ReconcileDetailList.vue
index 24eed735cf69a94504a51bce9785d2167abcc6c2..4351a19f1ca530473ef76233dbaf225756e9b38d 100644
--- a/src/views/payment/order/reconcile/ReconcileDetailList.vue
+++ b/src/views/payment/order/reconcile/detail/ReconcileDetailList.vue
@@ -2,23 +2,29 @@
-
+
-
+
-
-
+
- {{ dictConvert('PayReconcileTrade', row.type) }}
+ {{ dictConvert('ReconcileTrade', row.type) }}
-
+
- 查看
+ 查看
@@ -38,19 +44,21 @@
+
+
diff --git a/src/views/payment/order/reconcile/diff/ReconcileDiffList.vue b/src/views/payment/order/reconcile/diff/ReconcileDiffList.vue
new file mode 100644
index 0000000000000000000000000000000000000000..697c8781a2749644670e25179575af24dabb3ac3
--- /dev/null
+++ b/src/views/payment/order/reconcile/diff/ReconcileDiffList.vue
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ dictConvert('ReconcileTrade', row.orderType) }}
+
+
+
+
+ {{ dictConvert('ReconcileDiffType', row.diffType) }}
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/payment/order/reconcile/diff/ReconcileDiffListModel.vue b/src/views/payment/order/reconcile/diff/ReconcileDiffListModel.vue
new file mode 100644
index 0000000000000000000000000000000000000000..5258197922462499eb7d2a48ecddc18fad45f32f
--- /dev/null
+++ b/src/views/payment/order/reconcile/diff/ReconcileDiffListModel.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ {{ dictConvert('ReconcileTrade', row.orderType) }}
+
+
+
+
+ {{ dictConvert('ReconcileDiffType', row.diffType) }}
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/payment/order/reconcile/ReconcileOrder.api.ts b/src/views/payment/order/reconcile/order/ReconcileOrder.api.ts
similarity index 62%
rename from src/views/payment/order/reconcile/ReconcileOrder.api.ts
rename to src/views/payment/order/reconcile/order/ReconcileOrder.api.ts
index 17492e5bd23730c2d2dd9196bdc614db576d6456..436a8a092af26ef14eb6420d8f1a13f4e5ea5d26 100644
--- a/src/views/payment/order/reconcile/ReconcileOrder.api.ts
+++ b/src/views/payment/order/reconcile/order/ReconcileOrder.api.ts
@@ -33,31 +33,21 @@ export function get(id: string) {
}
/**
- * 明细分页
- */
-export function pageDetail(params) {
- return defHttp.get>>({
- url: '/order/reconcile/pageDetail',
- params,
- })
-}
-
-/**
- * 明细详情
+ * 下载对账单
*/
-export function getDetail(id: string) {
- return defHttp.get>({
- url: '/order/reconcile/findDetailById',
+export function downAndSave(id: any) {
+ return defHttp.post({
+ url: '/order/reconcile/downAndSave',
params: { id },
})
}
/**
- * 下载对账单
+ * 对账单比对
*/
-export function downAndSave(id: any) {
+export function compare(id: any) {
return defHttp.post({
- url: '/order/reconcile/downAndSave',
+ url: '/order/reconcile/compare',
params: { id },
})
}
@@ -79,23 +69,3 @@ export interface ReconcileOrder extends BaseEntity {
// 错误信息
errorMsg?: string
}
-
-/**
- * 通用支付对账记录
- */
-export interface ReconcileDetail extends BaseEntity {
- // 关联对账订单ID
- recordOrderId?: string
- // 交易类型
- type?: string
- // 订单id
- paymentId?: string
- // 订单id
- refundId?: string
- // 网关订单号
- gatewayOrderNo?: string
- // 交易金额
- amount?: string
- // 商品名称
- title?: string
-}
diff --git a/src/views/payment/order/reconcile/ReconcileOrderCreate.vue b/src/views/payment/order/reconcile/order/ReconcileOrderCreate.vue
similarity index 100%
rename from src/views/payment/order/reconcile/ReconcileOrderCreate.vue
rename to src/views/payment/order/reconcile/order/ReconcileOrderCreate.vue
diff --git a/src/views/payment/order/reconcile/ReconcileOrderInfo.vue b/src/views/payment/order/reconcile/order/ReconcileOrderInfo.vue
similarity index 100%
rename from src/views/payment/order/reconcile/ReconcileOrderInfo.vue
rename to src/views/payment/order/reconcile/order/ReconcileOrderInfo.vue
diff --git a/src/views/payment/order/reconcile/ReconcileOrderList.vue b/src/views/payment/order/reconcile/order/ReconcileOrderList.vue
similarity index 72%
rename from src/views/payment/order/reconcile/ReconcileOrderList.vue
rename to src/views/payment/order/reconcile/order/ReconcileOrderList.vue
index 4b3c629b9bee87067347c0bfeeff5ed4ec24260f..f81cd6b7db70fbaa843f8fb171f00bc70b599084 100644
--- a/src/views/payment/order/reconcile/ReconcileOrderList.vue
+++ b/src/views/payment/order/reconcile/order/ReconcileOrderList.vue
@@ -36,15 +36,27 @@
已比对
- 比对
+ 比对
-
+
查看
- 对账明细
+
+ 更多
+
+
+
+ 对账明细
+
+
+ 差异明细
+
+
+
+
@@ -60,6 +72,7 @@
+
diff --git a/src/views/payment/order/refund/RefundOrderList.vue b/src/views/payment/order/refund/RefundOrderList.vue
index 5fb3d95b0e67d659d0dd2b010ad3cafeadb2a177..76d717197b6b64ff24af8e3d010ba8dfb0d97ca5 100644
--- a/src/views/payment/order/refund/RefundOrderList.vue
+++ b/src/views/payment/order/refund/RefundOrderList.vue
@@ -99,8 +99,9 @@
// 查询条件
const fields = computed(() => {
return [
- { field: 'id', type: STRING, name: '退款号', placeholder: '请输入完整退款号' },
- { field: 'paymentId', type: STRING, name: '原支付单号', placeholder: '请输入完整支付ID' },
+ { field: 'id', type: STRING, name: '退款ID', placeholder: '请输入完整退款ID' },
+ { field: 'refundNo', type: STRING, name: '退款号', placeholder: '请输入完整退款号' },
+ { field: 'paymentId', type: STRING, name: '原支付ID', placeholder: '请输入完整支付ID' },
{ field: 'businessNo', type: STRING, name: '原业务号', placeholder: '请输入业务号' },
{ field: 'gatewayOrderNo', type: STRING, name: '网关订单号', placeholder: '请输入完整网关订单号' },
{ field: 'title', type: STRING, name: '原支付标题', placeholder: '请输入原支付标题' },
diff --git a/src/views/sys/about/index.vue b/src/views/sys/about/index.vue
index 26f45a172d4ea182bb2a68d7faa4d54921d7eb93..acdb4a6576d51df74946009c11308e5586428d36 100644
--- a/src/views/sys/about/index.vue
+++ b/src/views/sys/about/index.vue
@@ -3,9 +3,8 @@
- Bootx-Platform
- 是一个基于Spring Boot、Vue、Ant-Design-Vue
- 、TypeScript的后台管理脚手架,包含支付收单(支付宝、微信、聚合、组合支付)、工作流(Flowable)、三方对接(微信、钉钉、企微、短信)等功能。
+ dax-pay
+ 是一款免费开源的支付网关,独立部署通过HTTP方式进行调用,不与其他系统产生耦合关联,可以快速集成到各种系统中,提供可视化界面进行管理,便于实现统一的支付信息管理。