diff --git a/.env.development b/.env.development index be990eb506a62bee9e88b484447e539f021bc9de..1e6cfa8cb7c288757882ad26d4a732dbcbe2d4d6 100644 --- a/.env.development +++ b/.env.development @@ -7,7 +7,7 @@ VITE_PUBLIC_PATH=/ # 接口前缀 VITE_GLOB_API_URL_PREFIX=/server -# 接口地址留空即可 +# 接口地址 VITE_GLOB_API_URL= # 跨域代理,您可以配置多个 ,请注意,没有换行符 @@ -19,5 +19,5 @@ VITE_DROP_CONSOLE=false # 接口超时时间 VITE_GLOB_API_TIMEOUT=30000 -# 文件上传地址 +# 文件上传地址 未使用 VITE_GLOB_UPLOAD_URL=/upload diff --git a/.env.production b/.env.production index 2849d065815c148fed204865b6401cb44bcdc853..ee53decc62296241f54be06d213a1c8953671f01 100644 --- a/.env.production +++ b/.env.production @@ -4,7 +4,7 @@ VITE_PUBLIC_PATH=/ # 接口前缀 VITE_GLOB_API_URL_PREFIX=/server -# 接口地址留空即可 +# 接口地址 VITE_GLOB_API_URL= # 控制台不输出console @@ -21,7 +21,7 @@ VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE=false # 接口超时时间 VITE_GLOB_API_TIMEOUT=30000 -# 文件上传地址 +# 文件上传地址 未使用 VITE_GLOB_UPLOAD_URL=/upload diff --git a/LICENSE b/LICENSE index bfa5a86737bbcc09911e24926f89a36a1201c780..077410a09ef30350dda258beccbde47dd7d6d1ba 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright (c) 2021 bootx Authors. All Rights Reserved. + Copyright (c) 2022 济南易杯光年软件技术有限公司 Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 20f4e4d9bab6954f933070372f25577924d00d74..c8cb987683c67a2d47214b061f609c4ea13f3d9b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # Dax-Pay-UI + +## ❗使用须知 + +`DaxPay`是一款基于`Apache License 2.0`协议分发的开源软件,受中华人民共和国相关法律法规的保护和限制,可以在符合[《用户授权使用协议》](用户授权使用协议.txt)和 +[《Apache License 2.0》](LICENSE)开源协议情况下进行免费使用、学习和交流。**在使用前请阅读上述协议,如果不同意请勿进行使用。** + ## 🍈项目介绍 > DaxPay是一套基于Bootx-Platform脚手架构建的一套开源支付网关系统,已经对接支付宝、微信支付相关的接口,以及扩展了钱包支付、储值卡支付、现金支付等新的支付方式。 diff --git a/src/hooks/bootx/useUpload.ts b/src/hooks/bootx/useUpload.ts index cc894f2cc79725e466143bc1cf00a495a1b9972a..2267210bc7eae7e9533e3d74298257254b678261 100644 --- a/src/hooks/bootx/useUpload.ts +++ b/src/hooks/bootx/useUpload.ts @@ -2,7 +2,7 @@ import { useUserStoreWithOut } from '/@/store/modules/user' import { computed } from 'vue' import { getAppEnvConfig } from '/@/utils/env' const useUserStore = useUserStoreWithOut() -const { VITE_GLOB_API_URL } = getAppEnvConfig() +const { VITE_GLOB_API_URL, VITE_GLOB_API_URL_PREFIX } = getAppEnvConfig() export function useUpload(uploadUrl: string) { /** @@ -18,7 +18,7 @@ export function useUpload(uploadUrl: string) { * 上传地址 */ const uploadAction = computed(() => { - return VITE_GLOB_API_URL + uploadUrl + return VITE_GLOB_API_URL + VITE_GLOB_API_URL_PREFIX + uploadUrl }) return { tokenHeader, diff --git a/src/views/login/Login.vue b/src/views/login/Login.vue index d5cf1adea5fba6b20e9b3ba04ac4fd85f7798fe2..5accacf58efd5c43b61e235661c9f113b8bcda8c 100644 --- a/src/views/login/Login.vue +++ b/src/views/login/Login.vue @@ -16,10 +16,10 @@
- 开箱即用的中后台管理系统 + 开箱即用的支付网关系统
基于Vite+Vue3打造,支持支付收单、工作流(Flowable)、三方对接等模块 + >基于Vite+Vue3打造,支持支付宝、微信支付、云闪付等支付方式的统一网关系统
diff --git a/src/views/payment/channel/alipay/record/AlipayRecordList.vue b/src/views/payment/channel/alipay/record/AlipayRecordList.vue index 0a2626548a800de5c6ad9bf8795ec25feecf510e..91272b22f3346fd97d4303fa46f69d2022e0aaa0 100644 --- a/src/views/payment/channel/alipay/record/AlipayRecordList.vue +++ b/src/views/payment/channel/alipay/record/AlipayRecordList.vue @@ -1,7 +1,7 @@ + + diff --git a/src/views/payment/channel/union/record/UnionPayRecord.api.ts b/src/views/payment/channel/union/record/UnionPayRecord.api.ts new file mode 100644 index 0000000000000000000000000000000000000000..819f544d4535ad28be6590fb7180205303d62877 --- /dev/null +++ b/src/views/payment/channel/union/record/UnionPayRecord.api.ts @@ -0,0 +1,43 @@ +import { defHttp } from '/@/utils/http/axios' +import { Result, PageResult } from '/#/axios' +import { BaseEntity } from '/#/web' + +/** + * 分页 + */ +export function page(params) { + return defHttp.get>>({ + url: '/union/pay/record/page', + params, + }) +} + +/** + * 获取详情 + */ +export function get(id) { + return defHttp.get>({ + url: '/union/pay/record/findById', + params: { id }, + }) +} + +/** + * 记录 + */ +export interface UnionPayRecord extends BaseEntity { + // 标题 + title?: string + // 业务类型 + type?: string + // 金额 + amount?: string + // 交易订单号 + orderId?: string + // 交易订单号 + gatewayOrderNo?: string + // 终端ip + ip?: string + // 网关时间 + gatewayTime?: string +} diff --git a/src/views/payment/channel/union/record/UnionPayRecordInfo.vue b/src/views/payment/channel/union/record/UnionPayRecordInfo.vue new file mode 100644 index 0000000000000000000000000000000000000000..bd22964490b77f0df7f2f38f800c62a81aa8c029 --- /dev/null +++ b/src/views/payment/channel/union/record/UnionPayRecordInfo.vue @@ -0,0 +1,90 @@ + + + + + diff --git a/src/views/payment/channel/union/record/UnionPayRecordList.vue b/src/views/payment/channel/union/record/UnionPayRecordList.vue new file mode 100644 index 0000000000000000000000000000000000000000..fcce70e27331a43d633706af12f2bc92caadf0a6 --- /dev/null +++ b/src/views/payment/channel/union/record/UnionPayRecordList.vue @@ -0,0 +1,121 @@ + + + + + diff --git a/src/views/payment/channel/wechat/config/WechatPayConfigEdit.vue b/src/views/payment/channel/wechat/config/WechatPayConfigEdit.vue index d39de7172dadb2e8b03dcca89974ee5f21d9c496..5974abf12bb51f6b5f7403093f7d2d4b8366c549 100644 --- a/src/views/payment/channel/wechat/config/WechatPayConfigEdit.vue +++ b/src/views/payment/channel/wechat/config/WechatPayConfigEdit.vue @@ -23,7 +23,7 @@ - +