🎉 初始化提交

This commit is contained in:
zhaojun1998
2019-08-19 21:57:02 +08:00
commit 61ad4b52c5
159 changed files with 18824 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package im.zhaojun.common.service;
import im.zhaojun.common.mapper.SystemConfigMapper;
import im.zhaojun.common.model.SystemConfig;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
@Service
public class SystemConfigService {
@Resource
private SystemConfigMapper systemConfigMapper;
@Cacheable("zfile")
public SystemConfig getSystemConfig() {
return systemConfigMapper.selectFirstConfig();
}
}