package com.zksy.config;

import com.zksy.utils.UnsafeOkHttpClient;
import okhttp3.OkHttpClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class InitConfig {

    @Bean
    public OkHttpClient okHttpClient() {
        // 创建 OkHttpClient 实例
        return UnsafeOkHttpClient.getUnsafeOkHttpClient();
    }
}
