package com.zhentao.config;

import com.zhentao.service.WeChatService;
import com.zhentao.service.impl.WeChatServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class WeChatConfig {
    @Bean
    public WeChatService weChatService() {
        // 作为显式 Bean 注册，避免组件扫描异常导致无法注入
        return new WeChatServiceImpl();
    }
}