shaoyongjun 73c5062c45 to:sync
2024-02-21 12:04:40 +08:00

15 lines
461 B
Go

package repository
import "context"
type thirdUserTokenRepository interface {
FindByToken(ctx context.Context, token string) *FThirdUserTokenDO
FindByBizAndCorpId(ctx context.Context, bizId, corpUid uint64) *FThirdUserTokenDO
SaveUserLoginToken(ctx context.Context, data *FThirdUserTokenDO) error
UpdateUserLoginToken(ctx context.Context, data *FThirdUserTokenDO) error
}
var ThirdUserToken thirdUserTokenRepository = new(thirdUserTokenRepositoryImpl)