修改测试问题

master
mzhifa 5 months ago
parent 966524013a
commit f0e09a2c9b

@ -9,7 +9,7 @@ namespace Txgy.RBS.Framework
{ {
public class CommonData public class CommonData
{ {
public static string BaseProjectPath { get; set; } = "d:\\Project"; public static string BaseProjectPath { get; set; } = "c:\\Project";
public static string RedisDefaultPath { get; set; } = "program\\server"; public static string RedisDefaultPath { get; set; } = "program\\server";
public static string ApmsDefaultPath { get; set; } = "program\\apms\\gw.apms.json"; public static string ApmsDefaultPath { get; set; } = "program\\apms\\gw.apms.json";

@ -88,7 +88,7 @@ namespace Txgy.RBS.Framework.FileWatcherHelper
//设置监听文件类型 //设置监听文件类型
watcher.Filter = fileFilter; watcher.Filter = fileFilter;
//设置是否监听子目录 //设置是否监听子目录
watcher.IncludeSubdirectories = false; watcher.IncludeSubdirectories = true;
//设置是否启用监听 //设置是否启用监听
watcher.EnableRaisingEvents = false; watcher.EnableRaisingEvents = false;
watcher.EndInit(); watcher.EndInit();

@ -130,7 +130,7 @@ namespace Txgy.RBS.Services
_redisList.Publish($"{msEvent.ProjectName}result", Newtonsoft.Json.JsonConvert.SerializeObject(new _redisList.Publish($"{msEvent.ProjectName}result", Newtonsoft.Json.JsonConvert.SerializeObject(new
{ {
projectName = msEvent.ProjectName, projectName = msEvent.ProjectName,
ProName = msEvent.OriginTime, otime = msEvent.OriginTime,
message = msEvent.ToString(), message = msEvent.ToString(),
jsonStr = "" jsonStr = ""
})); }));

Loading…
Cancel
Save