/*
 * Copyright (c) 2023 codvision.com All Rights Reserved.
 */

package com.codvision.webapi.config;

import com.codvision.webapi.api.SysUserApi;
import com.codvision.webapi.api.impl.SysUserApiImpl;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 远程调用配置
 *
 * @author lingee
 * @date 2023/7/27
 */
@Configuration
public class WebApiConfig {

    @Bean
    @ConditionalOnMissingBean
    public SysUserApi sysUserApi() {
        return new SysUserApiImpl();
    }
}
