修改app_topic_domain自定义域的id为WEB_ID;
This commit is contained in:
@@ -1483,7 +1483,7 @@ public class AppCfgService extends BaseService {
|
||||
List<WebsiteDomainTopic> domainDict = appCfgDao.getDomainDict(websiteDomainTopic);
|
||||
Long domainId = domainDict.get(0).getId();
|
||||
// "APP_ID="+entity.getAppCode()+Constants.USER_REGION_SPLIT+
|
||||
String userRegion = "DOMAIN_ID=" + domainId /*+ Constants.USER_REGION_SPLIT + "DOMAIN_STR="
|
||||
String userRegion = "WEB_ID=" + domainId /*+ Constants.USER_REGION_SPLIT + "DOMAIN_STR="
|
||||
+ keywordsEscape(entity.getDomain())*/;
|
||||
|
||||
maatCfg.setUserRegion(userRegion);
|
||||
|
||||
@@ -361,7 +361,7 @@
|
||||
</service>
|
||||
-->
|
||||
<service id="1152" functionId="560" serviceType="1" cfgType="2" tableName="app_topic_domain_cfg" className="AppTopicDomainCfg" desc="关注话题域名">
|
||||
<userRegion regionKey="DOMAIN_ID" regionColumn="compileId" userRegionPosition="0"></userRegion>
|
||||
<userRegion regionKey="WEB_ID" regionColumn="compileId" userRegionPosition="0"></userRegion>
|
||||
</service>
|
||||
<!-- APP、基础协议、 加密协议行为配置结束-->
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
update statistics_tables set is_valid=0 where id in(4,7);
|
||||
@@ -107,11 +107,11 @@ $(function(){
|
||||
+'<option value=""><spring:message code="select"/></option>';
|
||||
if(data.length>0){
|
||||
for(i=0;i<data.length;i++){
|
||||
html+='<option value="'+data[i].cfgKeywords+'"';
|
||||
if('${_cfg.cfgKeywords}'==data[i].cfgKeywords){
|
||||
html+='<option value="'+data[i].domain+'"';
|
||||
if('${_cfg.cfgKeywords}'==data[i].domain){
|
||||
html+=" selected";
|
||||
}
|
||||
html+='>'+data[i].cfgKeywords+'</option>';
|
||||
html+='>'+data[i].domain+'</option>';
|
||||
}
|
||||
html+='</select>';
|
||||
$("#selectDomain").html(html);
|
||||
|
||||
Reference in New Issue
Block a user