通过openid查询与用户授权记录(合作伙伴模式)
js
wxpay.v3.payscore.partner.permissions.search.get({
params,
})
.then(
({
data: {
service_id,
appid,
mchid,
openid,
authorization_code,
authorization_state,
notify_url,
cancel_authorization_time,
authorization_success_time,
sub_mchid,
sub_appid,
sub_openid,
user_risk_level,
risk_level_version,
},
}) => ({
service_id,
appid,
mchid,
openid,
authorization_code,
authorization_state,
notify_url,
cancel_authorization_time,
authorization_success_time,
sub_mchid,
sub_appid,
sub_openid,
user_risk_level,
risk_level_version,
})
)