mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-12-31 10:57:11 +08:00
feat: 支持第三方账号登录
Just Auth(开箱即用的整合第三方登录的开源组件,脱离繁琐的第三方登录 SDK,让登录变得 So easy!)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="top.charles7c.cnadmin.system.mapper.UserSocialMapper">
|
||||
<select id="selectBySourceAndOpenId"
|
||||
resultType="top.charles7c.cnadmin.system.model.entity.UserSocialDO">
|
||||
SELECT t1.*
|
||||
FROM `sys_user_social` AS t1
|
||||
LEFT JOIN `sys_user` AS t2 ON t2.`id` = t1.`user_id`
|
||||
WHERE t1.`source` = #{source} AND t1.`open_id` = #{openId}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user