mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-13 13:07:32 +00:00
(improvement)(semantic) Supply and compatible with mysql demo data (#464)
Co-authored-by: jolunoluo
This commit is contained in:
@@ -36,8 +36,8 @@ public class DatabaseReq {
|
||||
|
||||
private List<String> viewers = Lists.newArrayList();
|
||||
|
||||
public String getUrl() {
|
||||
if (type.equalsIgnoreCase(DataTypeEnum.H2.getFeature())) {
|
||||
public String getConnectUrl() {
|
||||
if (StringUtils.isNotBlank(url)) {
|
||||
return url;
|
||||
}
|
||||
String databaseUrl = database;
|
||||
|
||||
Reference in New Issue
Block a user