wangwei il y a 6 ans
Parent
commit
3bf215c0eb

+ 6 - 0
examcloud-core-basic-api-provider/src/main/java/cn/com/qmth/examcloud/core/basic/api/controller/OrgController.java

@@ -468,6 +468,12 @@ public class OrgController extends ControllerSupport {
 		info.setDomainName(domain.getDomainName());
 		info.setRemark(domain.getRemark());
 
+		Map<String, String> properties = domain.getProperties();
+		if (null == properties) {
+			properties = Maps.newHashMap();
+		}
+		info.setProperties(properties);
+
 		OrgEntity saved = orgService.saveRootOrg(info);
 		return saved;
 	}