spring
ghost123cc
IT
展开
-
微信授权回调接口
/** * 微信授权回调接口 * * @return * @throws IOException */ @GetMapping("/authCallBack") public ResultMap authCallBack(HttpServletRequest request) throws IOException { String code = request.getParameter("code"); St.原创 2022-04-26 23:13:14 · 1747 阅读 · 0 评论 -
sprintboot 微信静默授权代码
/** * 微信授权 * * @param response * @return * @throws IOException */ @GetMapping("/getWeChat") public ResultMap getWeChat(HttpServletResponse response) throws IOException { // 1、redirect_uri设置 String redi.原创 2022-04-26 23:07:31 · 461 阅读 · 0 评论 -
Spring Boot 集成 WebSocket
https://mp.weixin.qq.com/s/BhoJgqtpisiDtFtTG9PNpg原创 2021-06-18 23:12:33 · 79 阅读 · 0 评论 -
springboot_springdata-jpa @Procedure调用存储过程查询方法
项目地址:https://github.com/heng1234/springdata-jpa 1、mysql数据创建表和存储过程 CREATE TABLE `user` ( `id` INT (11) NOT NULL AUTO_INCREMENT, `name` VARCHAR (50) NOT NULL, `email` VARCHAR (200) NOT NULL, PRIMARY KEY (`id`) ) -- 创建存储过程 cr...转载 2020-11-27 20:25:23 · 416 阅读 · 0 评论