|
|
|
@ -100,6 +100,19 @@ public class SysConfigService implements ISysConfigService {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public List findSystemInfoConfig() {
|
|
|
|
|
List mailConfig = new ArrayList();
|
|
|
|
|
mailConfig.add(SysConfigRDao.getByProperty("configCode", PlatformConstWords.SYSTEM_HOME_LOGO));
|
|
|
|
|
mailConfig.add(SysConfigRDao.getByProperty("configCode", PlatformConstWords.SYSTEM_LOGO));
|
|
|
|
|
mailConfig.add(SysConfigRDao.getByProperty("configCode", PlatformConstWords.SYSTEM_COMPANY_NAME));
|
|
|
|
|
mailConfig.add(SysConfigRDao.getByProperty("configCode", PlatformConstWords.SYSTEM_NAME));
|
|
|
|
|
mailConfig.add(SysConfigRDao.getByProperty("configCode", PlatformConstWords.SYSTEM_TITLE_NAME));
|
|
|
|
|
mailConfig.add(SysConfigRDao.getByProperty("configCode", PlatformConstWords.SYSTEM_COPYRIGHT));
|
|
|
|
|
|
|
|
|
|
return mailConfig;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
@ApiOperation(value = "根据code修改系统配置")
|
|
|
|
|
public void updateSysConfigByCode(String code, String value) {
|
|
|
|
|
SysConfigRDao.updateByProperties("configCode",code,"configValue",value);
|
|
|
|
|