| | |
| | | * https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/qr-code/getUnlimitedQRCode.html |
| | | * @return |
| | | */ |
| | | public void generateWXMiniCode(Locks locks,SystemDictData systemDictData,String prePath,String path){ |
| | | public void generateWXMiniCode(Locks locks,String token,String prePath,String path){ |
| | | |
| | | if(Objects.isNull(systemDictData)){ |
| | | if(Objects.isNull(token)){ |
| | | return; |
| | | } |
| | | String url = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token="+ systemDictData.getCode(); |
| | | String url = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token="+ token; |
| | | String release = systemDictDataBiz.queryByCode(Constants.MINI_PROGRAMME,Constants.MINI_PROGRAMME_REALEASE).getCode(); |
| | | //生成图片上传OSS |
| | | Map<String,Object> body = new HashMap<>(); |