企微登录
企微管理后台配置的地址
https://abc.baidu.com/auth/auth_work_wechat?corp_code=xxxxx&redirect_uri=https://abc.baidu.com/auth/work_wechat_callback?corp_code=xxxxx
cpp企微认证地址,拼接后,请求企微服务器的地址
https://open.weixin.qq.com/connect/oauth2/authorize?appid=CORPID&redirect_uri=https://abc.baidu.com/auth/work_wechat_callback?corp_code=xxxxx&response_type=code&scope=snsapi_base&state=STATE&agentid=AGENTID#wechat_redirect
企微服务器回调cpp的地址
https://abc.baidu.com/auth/work_wechat_callback?corp_code=xxxxx&code=微信的code
这个接口的逻辑,从数据库根据corp_code获取配置,用code从pluto获取token,302跳转到配置设置的url
最后跳到cpp首页,此时已把token种好
https://abc.baidu.com/home/multiple