config.go 346 字节
package repository

import "opp/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)
}