com.dingtalk.spring.boot.DingTalkUserIdProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk-spring-boot-starter Show documentation
Show all versions of dingtalk-spring-boot-starter Show documentation
Spring Boot Starter For DingTalk Client
package com.dingtalk.spring.boot;
import org.apache.commons.lang3.StringUtils;
public interface DingTalkUserIdProvider {
default String getUserIdByDingTalkUser(String corpId, String appId, String account) {
return account;
}
default String getDingTalkUserByUserId(String corpId, String appId, String... userIds) {
return StringUtils.join(userIds, ",");
}
}