15 lines
502 B
Go
Raw Normal View History

2023-06-04 22:54:54 +08:00
package repository
2023-06-04 23:26:48 +08:00
import "code.mylomen.com/syj/lib/context"
2023-06-04 22:54:54 +08:00
type thirdUserTokenRepository interface {
FindByToken(ctx context.GormWithZap, token string) *FThirdUserTokenDO
FindByBizAndCorpId(ctx context.GormWithZap, bizId, corpUid uint64) *FThirdUserTokenDO
SaveUserLoginToken(ctx context.GormWithZap, data *FThirdUserTokenDO) error
UpdateUserLoginToken(ctx context.GormWithZap, data *FThirdUserTokenDO) error
}
var ThirdUserToken thirdUserTokenRepository = new(thirdUserTokenRepositoryImpl)