🎨 update project structure

This commit is contained in:
landaiqing
2024-09-29 15:46:35 +08:00
parent 2769467ce2
commit 87f1ff6961
85 changed files with 693 additions and 431 deletions

10
dao/user_social_dao.go Normal file
View File

@@ -0,0 +1,10 @@
package dao
import "schisandra-cloud-album/model"
type UserSocialDao interface {
// AddUserSocial 添加用户第三方登录信息
AddUserSocial(user model.ScaAuthUserSocial) error
// QueryUserSocialByOpenID 根据第三方登录的 openID 查询用户信息
QueryUserSocialByOpenID(openID string, source string) (model.ScaAuthUserSocial, error)
}