34 lines
890 B
Go
34 lines
890 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 (
|
|
IStoreAdmin interface {
|
|
Login(ctx context.Context, in *model.StoreAdminLoginIn) (out *model.StoreAdminLoginOut, err error)
|
|
Info(ctx context.Context, in *model.StoreAdminInfoIn) (out *model.StoreAdminInfoOut, err error)
|
|
}
|
|
)
|
|
|
|
var (
|
|
localStoreAdmin IStoreAdmin
|
|
)
|
|
|
|
func StoreAdmin() IStoreAdmin {
|
|
if localStoreAdmin == nil {
|
|
panic("implement not found for interface IStoreAdmin, forgot register?")
|
|
}
|
|
return localStoreAdmin
|
|
}
|
|
|
|
func RegisterStoreAdmin(i IStoreAdmin) {
|
|
localStoreAdmin = i
|
|
}
|