书籍列表接口新增参数
This commit is contained in:
33
internal/service/user_sign_in_logs.go
Normal file
33
internal/service/user_sign_in_logs.go
Normal file
@ -0,0 +1,33 @@
|
||||
// ================================================================================
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user