提交 705c929b 编写于 作者: 智布道's avatar 智布道 👁

feat: Support to bind the account of the third-party platform

上级 d65f1d3c
......@@ -86,6 +86,18 @@ public interface JapUserService {
return null;
}
/**
* After logging in, bind the account of the third-party platform
*
* @param japUser User information of the third-party platform after successful login
* @param bindUserId The user id that needs to be bound, this is a user of the business system, not a user of the third-party platform.
* @return When binding successfully, return {@code true}, otherwise return {@code false}
*/
default boolean bindSocialUser(JapUser japUser, String bindUserId) {
return false;
}
/**
* Save the oauth login user information to the database and return JapUser
* <p>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册