package cn.ftebox.service.impl;

import cn.ftebox.dao.BloggerDao;
import cn.ftebox.entity.Blogger;
import cn.ftebox.service.BloggerService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("bloggerService")
public class BloggerServiceImpl implements BloggerService {
    @Resource
    private BloggerDao bloggerDao;

    @Override
    public Blogger getByUserName(String userName) {
        return bloggerDao.getByUserName(userName);
    }
}
