You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
816 B
34 lines
816 B
// ================================================================================
|
|
// 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 (
|
|
v1 "UserRegister/api/v1"
|
|
)
|
|
|
|
type (
|
|
ICover interface {
|
|
// GetConfig 获取配置信息
|
|
GetConfig(req *v1.GetConfigReq) (res v1.GetConfigRes, err error)
|
|
// UpdateConfig 更新配置信息
|
|
UpdateConfig(req *v1.UpdateConfigReq) (err error)
|
|
}
|
|
)
|
|
|
|
var (
|
|
localCover ICover
|
|
)
|
|
|
|
func Cover() ICover {
|
|
if localCover == nil {
|
|
panic("implement not found for interface ICover, forgot register?")
|
|
}
|
|
return localCover
|
|
}
|
|
|
|
func RegisterCover(i ICover) {
|
|
localCover = i
|
|
}
|