Skip to content

Commit

Permalink
✨ 增加获取站点域名方法
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaojun1998 committed Apr 11, 2021
1 parent 23bb396 commit 81f9e26
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/im/zhaojun/zfile/service/SystemConfigService.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,14 @@ public String getAdminUsername() {
return systemConfigDTO.getUsername();
}

/**
* 获取站点域名
*
* @return 站点域名
*/
public String getDomain() {
SystemConfigDTO systemConfigDTO = getSystemConfig();
return systemConfigDTO.getDomain();
}

}

0 comments on commit 81f9e26

Please sign in to comment.