config.go
350 字节
package repository
import "ability/models"
type IConfigRepository interface {
GetCfgClient(clintId, clientSecret string) (v *models.CfgClient, err error)
}
type ConfigRepository struct{}
func (r *ConfigRepository) GetCfgClient(clintId, clientSecret string) (v *models.CfgClient, err error) {
return models.GetCfgClient(clintId, clientSecret)
}