package com.duiba.tuia.youtui.web.service.impl;

import cn.com.duiba.tuia.activity.center.api.dto.PublicNoticeStyleDto;
import cn.com.duiba.tuia.activity.center.api.remoteservice.RemotePublicNoticeStyleService;
import com.duiba.tuia.youtui.web.service.BaseService;
import com.duiba.tuia.youtui.web.service.PublicNoticeStyleService;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by xuefeng on 2018/1/2.
 */
@Service
public class PublicNoticeStyleServiceImpl extends BaseService implements PublicNoticeStyleService {

    @Autowired
    private RemotePublicNoticeStyleService remotePublicNoticeStyleService;

    @Override
    public PublicNoticeStyleDto getById(Long id) {
        return remotePublicNoticeStyleService.getById(id).getResult();
    }
}
