【新增】pay:相关文档的链接

pull/42/head
YunaiV 2024-05-04 21:42:11 +08:00
parent 87b8236b37
commit b5e9ab123a
11 changed files with 88 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import { IconEnum } from '@/enums/appEnum'
import { Icon } from '@/components/Icon'
import { BasicTable, TableAction, useTable } from '@/components/Table'
import { deleteApp, getAppPage } from '@/api/pay/app'
import { DocAlert } from '@/components/DocAlert'
defineOptions({ name: 'PayApp' })
@ -67,6 +68,8 @@ function isChannelExists(channels, channelCode) {
<template>
<div>
<DocAlert title="支付功能开启" url="https://doc.iocoder.cn/pay/build/" />
<BasicTable @register="registerTable">
<template #toolbar>
<a-button v-auth="['pay:app:create']" type="primary" :pre-icon="IconEnum.ADD" @click="handleCreate">

View File

@ -8,6 +8,7 @@ import { useModal } from '@/components/Modal'
import { IconEnum } from '@/enums/appEnum'
import { BasicTable, TableAction, useTable } from '@/components/Table'
import { getDemoOrderPage, refundDemoOrder } from '@/api/pay/demo'
import { DocAlert } from '@/components/DocAlert'
defineOptions({ name: 'PayDemo' })
@ -58,6 +59,11 @@ async function handleRefund(record: Recordable) {
<template>
<div>
<DocAlert title="支付宝支付接入" url="https://doc.iocoder.cn/pay/alipay-pay-demo/" />
<DocAlert title="支付宝、微信退款接入" url="https://doc.iocoder.cn/pay/refund-demo/" />
<DocAlert title="微信公众号支付接入" url="https://doc.iocoder.cn/pay/wx-pub-pay-demo/" />
<DocAlert title="微信小程序支付接入" url="https://doc.iocoder.cn/pay/wx-lite-pay-demo/" />
<BasicTable @register="registerTable">
<template #toolbar>
<a-button v-auth="['pay:app:create']" type="primary" :pre-icon="IconEnum.ADD" @click="handleAdd">

View File

@ -0,0 +1,17 @@
<script lang="ts" setup>
import { DocAlert } from '@/components/DocAlert'
</script>
<template>
<div>
<DocAlert title="支付手册" url="https://doc.iocoder.cn/pay/build/" />
<a-button danger type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3">
该功能支持 Vue3 + element-plus 版本
</a-button>
<br />
<a-button type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/pay/demo/transfer/index.vue">
可参考 https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/pay/demo/transfer/index.vue pull request
</a-button>
</div>
</template>

View File

@ -6,6 +6,7 @@ import { useModal } from '@/components/Modal'
import { IconEnum } from '@/enums/appEnum'
import { BasicTable, TableAction, useTable } from '@/components/Table'
import { getNotifyTaskPage } from '@/api/pay/notify'
import { DocAlert } from '@/components/DocAlert'
defineOptions({ name: 'PayNotify' })
@ -34,6 +35,8 @@ async function handleQueryDetails(record: Recordable) {
<template>
<div>
<DocAlert title="支付功能开启" url="https://doc.iocoder.cn/pay/build/" />
<BasicTable @register="registerTable">
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'">

View File

@ -8,6 +8,7 @@ import { IconEnum } from '@/enums/appEnum'
import { BasicTable, TableAction, useTable } from '@/components/Table'
import type { OrderExportReqVO } from '@/api/pay/order'
import { exportOrder, getOrderPage } from '@/api/pay/order'
import { DocAlert } from '@/components/DocAlert'
defineOptions({ name: 'PayOrder' })
@ -49,6 +50,10 @@ async function handleExport() {
<template>
<div>
<DocAlert title="支付宝支付接入" url="https://doc.iocoder.cn/pay/alipay-pay-demo/" />
<DocAlert title="微信公众号支付接入" url="https://doc.iocoder.cn/pay/wx-pub-pay-demo/" />
<DocAlert title="微信小程序支付接入" url="https://doc.iocoder.cn/pay/wx-lite-pay-demo/" />
<BasicTable @register="registerTable">
<template #toolbar>
<a-button v-auth="['pay:order:export']" :pre-icon="IconEnum.EXPORT" @click="handleExport">

View File

@ -8,6 +8,7 @@ import { IconEnum } from '@/enums/appEnum'
import { BasicTable, TableAction, useTable } from '@/components/Table'
import type { PayRefundExportReqVO } from '@/api/pay/refund'
import { exportRefund, getRefundPage } from '@/api/pay/refund'
import { DocAlert } from '@/components/DocAlert'
defineOptions({ name: 'PayRefund' })
@ -49,6 +50,8 @@ async function handleExport() {
<template>
<div>
<DocAlert title="支付宝、微信退款接入" url="https://doc.iocoder.cn/pay/refund-demo/" />
<BasicTable @register="registerTable">
<template #toolbar>
<a-button v-auth="['pay:order:export']" :pre-icon="IconEnum.EXPORT" @click="handleExport">

View File

@ -0,0 +1,17 @@
<script lang="ts" setup>
import { DocAlert } from '@/components/DocAlert'
</script>
<template>
<div>
<DocAlert title="支付手册" url="https://doc.iocoder.cn/pay/build/" />
<a-button danger type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3">
该功能支持 Vue3 + element-plus 版本
</a-button>
<br />
<a-button type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/pay/transfer/index.vue">
可参考 https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/pay/transfer/index.vue pull request
</a-button>
</div>
</template>

View File

@ -0,0 +1,17 @@
<script lang="ts" setup>
import { DocAlert } from '@/components/DocAlert'
</script>
<template>
<div>
<DocAlert title="支付手册" url="https://doc.iocoder.cn/pay/build/" />
<a-button danger type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3">
该功能支持 Vue3 + element-plus 版本
</a-button>
<br />
<a-button type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/pay/wallet/balance/index.vue">
可参考 https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/pay/wallet/balance/index.vue pull request
</a-button>
</div>
</template>

View File

@ -0,0 +1,17 @@
<script lang="ts" setup>
import { DocAlert } from '@/components/DocAlert'
</script>
<template>
<div>
<DocAlert title="支付手册" url="https://doc.iocoder.cn/pay/build/" />
<a-button danger type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3">
该功能支持 Vue3 + element-plus 版本
</a-button>
<br />
<a-button type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/pay/wallet/rechargePackage/index.vue">
可参考 https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/pay/wallet/rechargePackage/index.vue pull request
</a-button>
</div>
</template>