{
"entId": "gongxinghuanjingdev2",
"userId": "u5000000308277135",
"roleNames": [
"测试角色",
"瞎写的"
]
}
curl --location --request POST '/openservice/eagle-user/role/isUserInRoleNames' \
--header 'X-Qpaas-Dev-Tags: ylh' \
--header 'Cookie: PHPSESSID=2b6bcd0d-8fbe-4dfc-86f7-1f52397d4b0a; access_token=2b6bcd0d-8fbe-4dfc-86f7-1f52397d4b0a' \
--header 'Content-Type: application/json' \
--data-raw '{
"entId": "gongxinghuanjingdev2",
"userId": "u5000000308277135",
"roleNames": [
"测试角色",
"瞎写的"
]
}'
{
"status": 200,
"code": 1000000,
"result": {
"3": true,
"170": true
},
"msg": "成功"
}