| | |
| | | merMemberPageDto.setStartBirthday(startBirthday.format(formatter)); |
| | | } |
| | | // 获取当前登陆人的可视权限 |
| | | SysUser sysUser = SecurityUtils.getSysUser(); |
| | | SysUser sysUserId = SecurityUtils.getSysUser(); |
| | | SysUser sysUser = sysUserService.getSysUser(sysUserId.getUserId()).getData(); |
| | | // 店铺ids |
| | | List<Long> scope = new ArrayList<>(); |
| | | if (sysUser!=null){ |
| | |
| | | File file = wxMaService.getQrcodeService().createWxaCodeUnlimit(scene, path); |
| | | FileInputStream input = new FileInputStream(file); |
| | | MultipartFile multipartFile = new MyMultipartFile("file", file.getName(), "text/plain", IOUtils.toByteArray(input)); |
| | | |
| | | SysFile sysFile = remoteFileService.upload(multipartFile).getData(); |
| | | return sysFile.getUrl(); |
| | | String data = remoteFileService.uploadOSS(multipartFile).getData(); |
| | | return data; |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |