feat(充值页): 接口身份参数调整

This commit is contained in:
hzj 2025-09-27 17:01:11 +08:00
parent b1252e8a60
commit de46ed54ab
2 changed files with 7 additions and 1 deletions

View File

@ -175,6 +175,7 @@ const checkUserId = async () => {
path: '/recharge-freight-agent',
query: {
targetUserId: targetUserId.value,
isSuperFreightAgent: targetUserInfo.body?.isSuperFreightAgent || false,
isFreightAgent: targetUserInfo.body.isFreightAgent,
},
})

View File

@ -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)