app_topic_tomain去掉domain_str自定义域的值,去掉界面domain选择框的非空校验

This commit is contained in:
duandongmei
2018-09-03 17:28:25 +08:00
parent 15ee2b2778
commit c41238a19c
2 changed files with 3 additions and 3 deletions

View File

@@ -1228,8 +1228,8 @@ public class AppCfgService extends BaseService {
List<WebsiteDomainTopic> domainDict = appCfgDao.getDomainDict(websiteDomainTopic); List<WebsiteDomainTopic> domainDict = appCfgDao.getDomainDict(websiteDomainTopic);
Long domainId = domainDict.get(0).getId(); Long domainId = domainDict.get(0).getId();
// "APP_ID="+entity.getAppCode()+Constants.USER_REGION_SPLIT+ // "APP_ID="+entity.getAppCode()+Constants.USER_REGION_SPLIT+
String userRegion = "DOMAIN_ID=" + domainId + Constants.USER_REGION_SPLIT + "DOMAIN_STR=" String userRegion = "DOMAIN_ID=" + domainId /*+ Constants.USER_REGION_SPLIT + "DOMAIN_STR="
+ keywordsEscape(entity.getDomain()); + keywordsEscape(entity.getDomain())*/;
maatCfg.setUserRegion(userRegion); maatCfg.setUserRegion(userRegion);

View File

@@ -323,7 +323,7 @@ $(function(){
<spring:message code="domain" /></label> <spring:message code="domain" /></label>
<div class="row"> <div class="row">
<div class="col-md-3"> <div class="col-md-3">
<select id="selectDomain" name="selectDomain" data-live-search="true" class="selectpicker form-control required"> <select id="selectDomain" name="selectDomain" data-live-search="true" class="selectpicker form-control">
<option value=""><spring:message code="select"/></option> <option value=""><spring:message code="select"/></option>
</select> </select>
</div> </div>