feat(充值页): 接口身份参数调整
This commit is contained in:
parent
b1252e8a60
commit
de46ed54ab
@ -175,6 +175,7 @@ const checkUserId = async () => {
|
||||
path: '/recharge-freight-agent',
|
||||
query: {
|
||||
targetUserId: targetUserId.value,
|
||||
isSuperFreightAgent: targetUserInfo.body?.isSuperFreightAgent || false,
|
||||
isFreightAgent: targetUserInfo.body.isFreightAgent,
|
||||
},
|
||||
})
|
||||
|
||||
@ -249,7 +249,12 @@ onMounted(async () => {
|
||||
let params = {
|
||||
sysOrigin: PayAplication.body.appCode,
|
||||
account: route.query.targetUserId,
|
||||
type: route.query.isFreightAgent === 'true' ? 'FREIGHT_GOLD' : 'GOLD',
|
||||
type:
|
||||
route.query.isSuperFreightAgent === 'true'
|
||||
? 'FREIGHT_GOLD_SUPER'
|
||||
: route.query.isFreightAgent === 'true'
|
||||
? 'FREIGHT_GOLD'
|
||||
: 'GOLD',
|
||||
}
|
||||
const userInfo = await searchPayRechargeUser(params)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user