关键字转url时,新增的http url配置来函取自关键字配置
This commit is contained in:
@@ -62,6 +62,15 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
|
||||
@Autowired
|
||||
private ServiceDictInfoDao serviceDictInfoDao;
|
||||
|
||||
public CfgIndexInfo getCfgIndexInfo(Integer compileId){
|
||||
CfgIndexInfo entity=new CfgIndexInfo();
|
||||
entity.setCompileId(compileId);
|
||||
List<CfgIndexInfo> cfgs=websiteCfgDao.getCfgIndexInfos(entity);
|
||||
if(!StringUtil.isEmpty(cfgs)){
|
||||
entity=cfgs.get(0);
|
||||
}
|
||||
return entity;
|
||||
}
|
||||
public CfgIndexInfo getHttpCfg(Long cfgId){
|
||||
CfgIndexInfo entity = websiteCfgDao.getCfgIndexInfo(cfgId);
|
||||
List<IpPortCfg> ipPortList = websiteCfgDao.getIpPortList(entity);
|
||||
|
||||
Reference in New Issue
Block a user