Files
novel_server/internal/service/user_sign_in_logs.go

34 lines
884 B
Go

// ================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================
package service
import (
"context"
"server/internal/model"
)
type (
IUserSignInLogs interface {
// Sign 用户签到,只允许每日唯一签到
Sign(ctx context.Context, in *model.UserSignInLogSignIn) (*model.UserSignInLogSignOut, error)
}
)
var (
localUserSignInLogs IUserSignInLogs
)
func UserSignInLogs() IUserSignInLogs {
if localUserSignInLogs == nil {
panic("implement not found for interface IUserSignInLogs, forgot register?")
}
return localUserSignInLogs
}
func RegisterUserSignInLogs(i IUserSignInLogs) {
localUserSignInLogs = i
}