关于企鹅号授权redirect_url的问题

授权页面:
https://auth.om.qq.com/omoauth2/authorize?response_type=code&client_id=0bc337524d6e7c3ff4f3bffc0f51bf47&redirect_uri=https%3A%2F%2Frestapi-test1.fishsaying.com%2F%2Fcultural-cloud%2Ffeidou%2Fom%2Fauth%2Fcallback%3Fuser_id%3D271dfaf14f8f4ecbbd06a71855cccf5d%26back%3D687474703a2f2f746573742d312e79757368756f79756e2e636f6d2f6361636c6f75642f666565646f752f6d616e616765722f6c697374&state=1
输入账号密码后,提示授权失败 ,redirect_url不合法
error_code=40012&error_msg=The+redirect+uri+is+not+valid
这个 redirect_url 要怎么搞。。。纠结了好久了

https://open.weixin.qq.com/connect/oauth2/authorize?appid= + wxAppid + &scope=snsapi_base&redirect_uri= + URLEncoder.encode(wxOauthRedirectUri, "UTF-8") + &response_type=code&state=1#wechat_redirect 我用的是这个,uri这块,必须使用域名,也要URL编码一下,且要配置在公众号后台那

Api/Api/urlRedirect/sim/1064818638088/sim/1064818638088