重构项目结构,将数据层集中在 lib 包中;resource 类型更新,支持多个子套餐类型分别表示;新增长效套餐的购买流程,以及已购查询功能
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user