fix: 获得微信小程序码(base64 image)

This commit is contained in:
puhui999
2024-05-14 23:28:44 +08:00
parent 4a0ad205ae
commit 4c05bd340e
10 changed files with 33 additions and 38 deletions

View File

@ -2,7 +2,9 @@ package cn.iocoder.yudao.module.system.api.social;
import cn.iocoder.yudao.module.system.api.social.dto.SocialWxJsapiSignatureRespDTO;
import cn.iocoder.yudao.module.system.api.social.dto.SocialWxPhoneNumberInfoRespDTO;
import cn.iocoder.yudao.module.system.api.social.dto.SocialWxQrcodeReqDTO;
import cn.iocoder.yudao.module.system.enums.social.SocialTypeEnum;
import jakarta.validation.Valid;
/**
* 社交应用的 API 接口
@ -39,4 +41,12 @@ public interface SocialClientApi {
*/
SocialWxPhoneNumberInfoRespDTO getWxMaPhoneNumberInfo(Integer userType, String phoneCode);
/**
* 获得小程序二维码
*
* @param reqVO 请求信息
* @return 小程序二维码
*/
byte[] getWxaQrcode(@Valid SocialWxQrcodeReqDTO reqVO);
}

View File

@ -52,12 +52,4 @@ public interface SocialUserApi {
*/
SocialUserRespDTO getSocialUserByCode(Integer userType, Integer socialType, String code, String state);
/**
* 获得小程序二维码
*
* @param reqVO 请求信息
* @return 小程序二维码
*/
byte[] getWxQrcode(@Valid SocialWxQrcodeReqDTO reqVO);
}