package com.jeeplus.sys.feign;

import com.jeeplus.sys.service.SysConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ConfigApiImpl implements IConfigApi {

    @Autowired
    private SysConfigService sysConfigService;

    @Override
    public String getProductName(String tenantId) {
        return sysConfigService.getByTenantId ( tenantId ).getProductName ( );
    }
}
