生成表结构、

This commit is contained in:
2025-05-29 16:23:14 +08:00
parent e8a8e36d61
commit ea87bc829e
97 changed files with 3795 additions and 0 deletions

33
internal/service/admin.go Normal file
View 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 (
IAdmin interface {
Login(ctx context.Context, in *model.AdminLoginIn) (out *model.LoginOut, err error)
Info(ctx context.Context, in *model.AdminInfoIn) (out *model.AdminInfoOut, err error)
}
)
var (
localAdmin IAdmin
)
func Admin() IAdmin {
if localAdmin == nil {
panic("implement not found for interface IAdmin, forgot register?")
}
return localAdmin
}
func RegisterAdmin(i IAdmin) {
localAdmin = i
}