mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 04:08:43 +08:00 
			
		
		
		
	增加微信小程序的登陆的测试代码
This commit is contained in:
		@@ -59,7 +59,7 @@ public interface SysSocialService {
 | 
			
		||||
     * @param userId 用户编号
 | 
			
		||||
     * @return 社交用户列表
 | 
			
		||||
     */
 | 
			
		||||
    List<SysSocialUserDO> getSocialUserList(Long userId,UserTypeEnum userTypeEnum);
 | 
			
		||||
    List<SysSocialUserDO> getSocialUserList(Long userId, UserTypeEnum userTypeEnum);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 绑定社交用户
 | 
			
		||||
 
 | 
			
		||||
@@ -87,7 +87,7 @@ public class SysSocialServiceImpl implements SysSocialService {
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    @Transactional
 | 
			
		||||
    public void bindSocialUser(Long userId, Integer type, AuthUser authUser,UserTypeEnum userTypeEnum) {
 | 
			
		||||
    public void bindSocialUser(Long userId, Integer type, AuthUser authUser, UserTypeEnum userTypeEnum) {
 | 
			
		||||
        // 获得 unionId 对应的 SysSocialUserDO 列表
 | 
			
		||||
        String unionId = getAuthUserUnionId(authUser);
 | 
			
		||||
        List<SysSocialUserDO> socialUsers = this.getAllSocialUserList(type, unionId, userTypeEnum);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user