
微信公众号
微信公众号涉及的代码
KuKu_Nao
这个作者很懒,什么都没留下…
展开
-
微信扫一扫获取签名(给前端)
@GetMapping("/getSignature") @ApiOperation(value = "获取签名") public ServerResponse getSignature(String url) throws IOException { String signature = ""; //获取noncestr String noncestr = UUID.randomUUID().toString(); ...原创 2021-11-19 09:06:04 · 760 阅读 · 0 评论 -
微信授权回调获取用户信息
@GetMapping("/userInfo") @ApiOperation(value = "微信授权回调", httpMethod = "GET", produces = "application/json;charset=UTF-8") public ServerResponse weixinCallBack(String code) throws IOException { if (StrUtil.isBlank(code)) { re...原创 2021-11-19 08:56:33 · 929 阅读 · 0 评论