|
|
@@ -233,8 +233,8 @@ export function getPointsStats() {
|
|
|
export function getWishesList(params) {
|
|
|
return request({
|
|
|
url: '/api/wishes',
|
|
|
- method: 'get',
|
|
|
- params
|
|
|
+ method: 'post',
|
|
|
+ data: params
|
|
|
})
|
|
|
}
|
|
|
|
|
|
@@ -242,8 +242,8 @@ export function getWishesList(params) {
|
|
|
export function getPendingWishes(familyId) {
|
|
|
return request({
|
|
|
url: '/api/wishes/pending',
|
|
|
- method: 'get',
|
|
|
- params: { familyId }
|
|
|
+ method: 'post',
|
|
|
+ data: { familyId }
|
|
|
})
|
|
|
}
|
|
|
|
|
|
@@ -251,7 +251,7 @@ export function getPendingWishes(familyId) {
|
|
|
export function getWishDetail(id) {
|
|
|
return request({
|
|
|
url: `/api/wishes/${id}`,
|
|
|
- method: 'get'
|
|
|
+ method: 'post'
|
|
|
})
|
|
|
}
|
|
|
|
|
|
@@ -1338,7 +1338,7 @@ export function cancelSubscriptionAdmin(data) {
|
|
|
export function getBenefitConfig() {
|
|
|
return request({
|
|
|
url: '/api/admin/subscription/benefits',
|
|
|
- method: 'get'
|
|
|
+ method: 'post'
|
|
|
})
|
|
|
}
|
|
|
|
|
|
@@ -1433,7 +1433,7 @@ export function getProductPpointByProduct(data) {
|
|
|
export function getPromotionTierConfig() {
|
|
|
return request({
|
|
|
url: '/api/admin/promotion/config',
|
|
|
- method: 'get'
|
|
|
+ method: 'post'
|
|
|
})
|
|
|
}
|
|
|
|
|
|
@@ -1475,7 +1475,7 @@ export function cancelPendingRefund(params) {
|
|
|
export function getCommissionConfig() {
|
|
|
return request({
|
|
|
url: '/api/admin/commission/config',
|
|
|
- method: 'get'
|
|
|
+ method: 'post'
|
|
|
})
|
|
|
}
|
|
|
|