Skip to content

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
zlzforever committed Apr 26, 2016
1 parent 4ab259e commit b1afd4d
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 409 deletions.
2 changes: 1 addition & 1 deletion src/Java2Dotnet.Spider.Common/ExcelClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public int GetSheetCount(string excelPath)

//public string ExportContent<T>(List<T> data, string path)
//{
// DirectoryInfo diretory = new DirectoryInfo(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "86ResearchReport"));
// DirectoryInfo diretory = new DirectoryInfo(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "Report"));
// if (!diretory.Exists)
// {
// diretory.Create();
Expand Down
3 changes: 1 addition & 2 deletions src/Java2Dotnet.Spider.Monitor/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<appSettings>
<add key="redishost" value="dc01.86research.cn" />
<add key="redishostpass" value="#frAiI^MtFxh3Ks&amp;swrnVyzAtRTq%w" />
<add key="redishost" value="" />
</appSettings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
Expand Down
395 changes: 1 addition & 394 deletions src/Java2Dotnet.Spider.Portal/Views/Home/Index.cshtml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/Java2Dotnet.Spider.Portal/Views/Log2/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>86Research Log Center</h2>
<h2>DotnetSpider Log Center</h2>
<div>
<input id="userid" type="text" value="86Research-DotnetSpider-Log" />
<input id="userid" type="text" value="DotnetSpider" />
<input id="refresh" type="button" onclick="refreshtasks()" value="Refresh" />
<div id="tasks">
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/Java2Dotnet.Spider.Portal/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
@Html.ActionLink("86Research Data Center", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
@Html.ActionLink("DotnetSpider Data Center", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
Expand All @@ -31,7 +31,7 @@
@RenderBody()
<hr />
<footer>
<p>&copy; @DateTime.Now.Year - 86Research</p>
<p>&copy; @DateTime.Now.Year - DotnetSpider</p>
</footer>
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/Java2Dotnet.Spider.Portal/Views/Tasks/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>86Research Task Center</h2>
<h2>DotnetSpider Task Center</h2>
<div>
<input id="userid" type="text" value="86Research-DotnetSpider-Log" />
<input id="userid" type="text" value="DotnetSpider" />
<input id="refresh" type="button" onclick="refreshtasks()" value="Refresh" />
<div id="tasks">
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/Java2Dotnet.Spider.Portal/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\aspnet-Java2Dotnet.Spider.Portal-20160422081257.mdf;Initial Catalog=aspnet-Java2Dotnet.Spider.Portal-20160422081257;Integrated Security=True" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="redisHost" value="dc01.86research.cn" />
<add key="redisPassword" value="#frAiI^MtFxh3Ks&amp;swrnVyzAtRTq%w" />
<add key="mongodb" value="mongodb://dc01.86research.cn" />
<add key="redisHost" value="" />
<add key="redisPassword" value="" />
<add key="mongodb" value="mongodb://" />
</appSettings>
<system.web>
<authentication mode="None" />
Expand Down
4 changes: 2 additions & 2 deletions src/Java2Dotnet.Spider.Test/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Program
{
public static void Main(string[] args)
{
Log.UserId = "86Research-DotnetSpider-Log";
Log.UserId = "DotnetSpider";
Log.TaskId = "JD SKU TEST";
JdSkuSampleSpider spiderBuilder = new JdSkuSampleSpider();
var context = spiderBuilder.GetBuilder().Context;
Expand All @@ -37,7 +37,7 @@ public static void Main(string[] args)

private static void TestStatusServer()
{
Log.UserId = "86Research-DotnetSpider-log";
Log.UserId = "DotnetSpider";
Log.TaskId = "Tmall Gmv Monthly";

var ErrorPageCount = 10;
Expand Down
2 changes: 1 addition & 1 deletion src/Java2Dotnet.Spider.Validation/MailBodyBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public string Build()
}

builder.Append("</table><br/>");
builder.Append("<span>Any question please ask for help from Lewis@86research.com</span></div></div></body></html>");
builder.Append("<span>Any question please ask for help from zlzforever@163.com</span></div></div></body></html>");

return builder.ToString();
}
Expand Down

0 comments on commit b1afd4d

Please sign in to comment.