Files
arenax-server/internal/service/merchant_admin.go

37 lines
1.2 KiB
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 (
IMerchantAdmin interface {
Login(ctx context.Context, in *model.MerchantLoginIn) (out *model.MerchantLoginOut, err error)
Info(ctx context.Context, in *model.MerchantAdminInfoIn) (out *model.MerchantAdminInfoOut, err error)
Code(ctx context.Context, in *model.MerchantAdminCodeIn) (out *model.MerchantAdminCodeOut, err error)
VertifyPhone(ctx context.Context, in *model.MerchantAdminVertifyPhoneIn) (out *model.MerchantAdminVertifyPhoneOut, err error)
Register(ctx context.Context, in *model.MerchantAdminRegisterIn) (out *model.MerchantAdminRegisterOut, err error)
}
)
var (
localMerchantAdmin IMerchantAdmin
)
func MerchantAdmin() IMerchantAdmin {
if localMerchantAdmin == nil {
panic("implement not found for interface IMerchantAdmin, forgot register?")
}
return localMerchantAdmin
}
func RegisterMerchantAdmin(i IMerchantAdmin) {
localMerchantAdmin = i
}