package com.platform.yijia.service.impl;

import com.platform.yijia.dao.GzhNewsTemplateMapper;
import com.platform.yijia.pojo.GzhNewsTemplate;
import com.platform.yijia.service.GzhNewsTemplateService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("gzhNewsTemplateService")
public class GzhNewsTemplateServiceImpl implements GzhNewsTemplateService {
    @Resource
    private GzhNewsTemplateMapper gzhNewsTemplateMapper;

    //获取公众号消息模板
    @Override
    public GzhNewsTemplate getGzhNewsTemplate(GzhNewsTemplate gzhNewsTemplate) {
        return gzhNewsTemplateMapper.getGzhNewsTemplate(gzhNewsTemplate);
    }
}
