网页关键字导入提交
This commit is contained in:
@@ -3364,6 +3364,11 @@ public class BaseController {
|
||||
if (regionDict.getFunctionId().intValue() == 34) {
|
||||
websiteCfgService.saveSslCfg(stringCfgs);
|
||||
}
|
||||
if (regionDict.getFunctionId().intValue() == 635) {
|
||||
if(regionDict.getDictId().intValue()==601||regionDict.getDictId().intValue()==602) {
|
||||
websiteCfgService.saveHttpBodyCfg(stringCfgs);
|
||||
}
|
||||
}
|
||||
} else if (regionDict.getRegionType().equals(3)) {
|
||||
for (ComplexkeywordCfg cfg : complexkeywordCfgs) {
|
||||
cfg.setAction(serviceDict.getAction());
|
||||
|
||||
@@ -165,6 +165,13 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
|
||||
page.setList(list);
|
||||
return page;
|
||||
}
|
||||
public void saveHttpBodyCfg(List<BaseStringCfg<?>> cfgs) {
|
||||
for(BaseStringCfg cfg:cfgs){
|
||||
HttpBodyCfg _cfg=new HttpBodyCfg();
|
||||
BeanUtils.copyProperties(cfg,_cfg);
|
||||
websiteCfgDao.saveHttpBodyCfg(_cfg);
|
||||
}
|
||||
}
|
||||
public void saveHttpCfg(CfgIndexInfo entity){
|
||||
//设置区域运营商信息
|
||||
setAreaEffectiveIds(entity);
|
||||
|
||||
Reference in New Issue
Block a user