微信开发注意配置上的注意点

授权登陆注意点:token 在测试号上的是随意写的,授权登陆需要一下几个配置
授权登陆路径:https://open.weixin.qq.com/connect/oauth2/authorize?appid= AppID &redirect_uri=回调路径&response_type=code&scope=snsapi_userinfo&state=STATE&connect_redirect=1#wechat_redirect

微信公众号推送消息: 引入jfinal-weixin-jar

公众号内配置如下模板

代码内引用模板做数据替换

猜你喜欢

转载自blog.csdn.net/weixin_41690497/article/details/82389242