重构项目结构,将数据层集中在 lib 包中;resource 类型更新,支持多个子套餐类型分别表示;新增长效套餐的购买流程,以及已购查询功能

This commit is contained in:
2025-05-22 14:59:22 +08:00
parent 9652181fe4
commit dc83c83cfb
29 changed files with 1827 additions and 1143 deletions

View File

@@ -2,7 +2,7 @@
import {callByUser, callPublic} from '@/actions/base'
export async function RechargeByAlipay(props: {
amount: number
amount: string
}) {
return callByUser<{
trade_no: string
@@ -17,7 +17,7 @@ export async function RechargeByAlipayConfirm(props: {
}
export async function RechargeByWechat(props: {
amount: number
amount: string
}) {
return callByUser<{
trade_no: string