{ "userName": "wht", "targetResource": "/user/add", "action": "add" }
curl --location --request GET 'http://47.92.1.39:8005/user/sendmsg' \ --header 'Authorization: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwZXJtaXNzaW9ucyI6WyJkZWxldGUiLCJ3cml0ZSJdLCJyb2xlcyI6WyJhZG1pbiIsInVzZXIiXSwiZXhwIjoxNjY3NTU2NzY1LCJ1c2VybmFtZSI6IndodCJ9.eOwa0Hg8zSPA_ql4LP75oqLNzd1UnhP2Bpg-M_kUmaY' \ --header 'Content-Type: application/json' \ --data-raw '{ "userName": "wht", "targetResource": "/user/add", "action": "add" }'
{ "success": true, "errCode": null, "errMessage": null, "data": true //true代表有权访问该页面 }