修复用户未/授权购买套餐价格计算 & 发布v1.6.0版本
This commit is contained in:
@@ -89,6 +89,14 @@ export async function payClose(props: {
|
||||
}
|
||||
|
||||
export async function getPrice(props: CreateResourceReq) {
|
||||
return callByUser<{
|
||||
price: string
|
||||
actual?: string
|
||||
discounted?: string
|
||||
}>('/api/resource/price', props)
|
||||
}
|
||||
|
||||
export async function getPriceHome(props: CreateResourceReq) {
|
||||
return callByDevice<{
|
||||
price: string
|
||||
actual?: string
|
||||
|
||||
Reference in New Issue
Block a user