package com.cyksj.service.gzh.impl;

import com.cyksj.model.dto.MsgEvent;
import com.cyksj.service.gzh.GzhService;
import com.cyksj.service.gzh.factory.GzhMsgServiceFactory;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/*
 *项目名: netflix
 *文件名: GzhServiceImpl
 *创建者: JavaZou
 *创建时间:2023/1/13 17:09
 */
@Service
@RequiredArgsConstructor
@Slf4j
public class GzhServiceImpl implements GzhService {
	private final GzhMsgServiceFactory gzhMsgServiceFactory;

	@Override
	public String gzhMsg(MsgEvent msgEvent){
		return gzhMsgServiceFactory.handleMsg(msgEvent);
	}
}
