开始
举例1
微信开发者工具中打开 https://app-qa.xiaobangguihua.com/course,微信开发者工具会自带用户对信息,所以正常打开,使用浏览器会跳转 https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc4ae87a9f61c3972&redirect_uri=https%3A%2F%2Faccount-qa.xiaobangtouzi.com%2Fuser-center%2Fwechat%2Fcallback%3Fapp_id%3Dwxc4ae87a9f61c3972%26target_url%3DaHR0cHM6Ly9hcHAtcWEueGlhb2JhbmdndWlodWEuY29tL2NvdXJzZQ%3D%3D&response_type=code&scope=snsapi_userinfo&state=e895de290e8682f03e101575f2d6bf19&connect_redirect=1#wechat_redirect
所以,可以在链接后面拼接一些参数,解决这个问题 https://app-qa.xiaobangguihua.com/course?token=5f26fa58f43001af3603ede0e1c62908&app_id=wxc4ae87a9f61c3972&open_id=oqExL08O6v77VDrpJYlyHgXAp5Zw
链接+token+app_id+open_id
举例2
http://10.20.22.132:8080/course/mine
总结
前提是你是这个公众号的开发者