feat: 添加 use_game_pass 参数到匹配预下单接口
This commit is contained in:
parent
58d9edc766
commit
f69fe30e2b
@ -309,11 +309,11 @@ export function getMatchingCardTypes() {
|
|||||||
return authRequest({ url: '/api/app/matching/card_types', method: 'GET' })
|
return authRequest({ url: '/api/app/matching/card_types', method: 'GET' })
|
||||||
}
|
}
|
||||||
|
|
||||||
export function createMatchingPreorder({ issue_id, position, coupon_id = 0, item_card_id = 0 }) {
|
export function createMatchingPreorder({ issue_id, position, coupon_id = 0, item_card_id = 0, use_game_pass = false }) {
|
||||||
return authRequest({
|
return authRequest({
|
||||||
url: '/api/app/matching/preorder',
|
url: '/api/app/matching/preorder',
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
data: { issue_id, position, coupon_id, item_card_id }
|
data: { issue_id, position, coupon_id, item_card_id, use_game_pass }
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user