fix the bug

master
ZhangZhen 张镇 5 years ago
parent e6a528f67d
commit 5613eda48b

@ -9,6 +9,7 @@
<add key="IgnoredDir" value=""/> <add key="IgnoredDir" value=""/>
<!--忽略的文件--> <!--忽略的文件-->
<add key="IgnoredFile" value=""/> <add key="IgnoredFile" value=""/>
<add key="URL" value="http://192.168.232.1:8090/"/>
</appSettings> </appSettings>
<startup> <startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />

@ -27,7 +27,7 @@ namespace Midea.Mes.Generate
var ignoredDir = ConfigurationManager.AppSettings["IgnoredDir"]; var ignoredDir = ConfigurationManager.AppSettings["IgnoredDir"];
var AdancedDay = ConfigurationManager.AppSettings["AddvancedDay"]; var AdancedDay = ConfigurationManager.AppSettings["AddvancedDay"];
string version = "1.0.0.1"; string version = "1.0.0.1";
string url = "http://192.168.232.1:8090/"; string url = ConfigurationManager.AppSettings["URL"];
string num = "1.0.0.1"; string num = "1.0.0.1";
string date = Convert.ToString(DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss")); string date = Convert.ToString(DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"));
var updateFiles = GetUpdateFileModels(rootDir, version); var updateFiles = GetUpdateFileModels(rootDir, version);

Loading…
Cancel
Save