Add port of upload token result and add to user list in message

This commit is contained in:
heavyrain lee
2019-04-14 12:23:43 +08:00
parent 58c98bbbfa
commit 99a0590c7e
7 changed files with 422 additions and 100 deletions
@@ -319,7 +319,7 @@ public class Server {
MediaServerConfig.SERVER_IP = getServerIp(config);
MediaServerConfig.HTTP_SERVER_PORT = config.getProperty(BrokerConstants.HTTP_SERVER_PORT);
MediaServerConfig.HTTP_SERVER_PORT = Integer.parseInt(config.getProperty(BrokerConstants.HTTP_SERVER_PORT));
MediaServerConfig.FILE_STROAGE_ROOT = config.getProperty(BrokerConstants.FILE_STORAGE_ROOT, MediaServerConfig.FILE_STROAGE_ROOT);
File file = new File(MediaServerConfig.FILE_STROAGE_ROOT);
@@ -21,7 +21,7 @@ public class MediaServerConfig {
public static String QINIU_BUCKET_FAVORITE_DOMAIN;
public static String SERVER_IP = "localhost";
public static String HTTP_SERVER_PORT = "8090";
public static int HTTP_SERVER_PORT = 8080;
public static String FILE_STROAGE_ROOT = "fs";
public static boolean USER_QINIU = false;