完善功能
This commit is contained in:
BIN
Other/LiebaoFreeWiFi5.1.9269.1053.exe
Normal file
BIN
Other/LiebaoFreeWiFi5.1.9269.1053.exe
Normal file
Binary file not shown.
@@ -1,9 +1,10 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="zh-CN">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>展板数据配置</title>
|
<title>展板数据配置</title>
|
||||||
|
<link rel="favicon" href="/favicon.ico" type="image/x-icon">
|
||||||
<link href="layui/css/layui.css" rel="stylesheet">
|
<link href="layui/css/layui.css" rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
.container {
|
.container {
|
||||||
|
|||||||
BIN
电子展板/Assets/favicon.ico
Normal file
BIN
电子展板/Assets/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
@@ -159,6 +159,7 @@ namespace 电子展板.Controller
|
|||||||
}
|
}
|
||||||
ActionResult response = new ActionResult(HttpStatusCode.OK);
|
ActionResult response = new ActionResult(HttpStatusCode.OK);
|
||||||
response.Content = new ByteArrayContent(bytes);
|
response.Content = new ByteArrayContent(bytes);
|
||||||
|
response.Content.Headers.ContentEncoding.Add("utf-8");
|
||||||
response.Content.Headers.ContentType = new MediaTypeHeaderValue(contentType);
|
response.Content.Headers.ContentType = new MediaTypeHeaderValue(contentType);
|
||||||
response.Content.Headers.ContentLength = bytes.Length;
|
response.Content.Headers.ContentLength = bytes.Length;
|
||||||
return response;
|
return response;
|
||||||
|
|||||||
@@ -28,6 +28,15 @@ namespace 电子展板.Controller
|
|||||||
return Resouce("/Views/Index.html", "text/html");
|
return Resouce("/Views/Index.html", "text/html");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#region css
|
||||||
|
[HttpGet, Route("favicon.ico")]
|
||||||
|
public ActionResult Favicon_ICO()
|
||||||
|
{
|
||||||
|
return Resouce("/favicon.ico", "image/x-icon");
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
[HttpGet, Route("getConfig")]
|
[HttpGet, Route("getConfig")]
|
||||||
public ActionResult GetConfig()
|
public ActionResult GetConfig()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user