mirror of
https://github.com/Hello-hao/Tbed.git
synced 2024-04-21 12:32:10 +00:00
23 lines
640 B
Java
23 lines
640 B
Java
package cn.hellohao.service.impl;
|
|
|
|
import cn.hellohao.dao.EmailConfigMapper;
|
|
import cn.hellohao.pojo.EmailConfig;
|
|
import cn.hellohao.service.EmailConfigService;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
@Service
|
|
public class EmailServiceImpl implements EmailConfigService {
|
|
@Autowired
|
|
EmailConfigMapper emailConfigMapper;
|
|
@Override
|
|
public EmailConfig getemail() {
|
|
return emailConfigMapper.getemail();
|
|
}
|
|
|
|
@Override
|
|
public Integer updateemail(EmailConfig emailConfig) {
|
|
return emailConfigMapper.updateemail(emailConfig);
|
|
}
|
|
}
|