Commit f559c51b by guanzhenshan

增加只读实例

parent 545a68fd
......@@ -1630,7 +1630,7 @@ namespace Bailun.DC.Services
sql += " group by tb.platform_type";
using (var cn = new MySqlConnection(Common.GlobalConfig.ConnectionString))
using (var cn = new MySqlConnection(Common.GlobalConfig.ConnectionString_read))
{
if (cn.State == System.Data.ConnectionState.Closed)
{
......@@ -1867,7 +1867,7 @@ namespace Bailun.DC.Services
sql += " group by t60.source";
}
using (var cn = new MySqlConnection(Common.GlobalConfig.ConnectionString))
using (var cn = new MySqlConnection(Common.GlobalConfig.ConnectionString_read))
{
if (cn.State == System.Data.ConnectionState.Closed)
{
......@@ -2057,7 +2057,7 @@ namespace Bailun.DC.Services
using (var cn = new MySqlConnection(Common.GlobalConfig.ConnectionString))
using (var cn = new MySqlConnection(Common.GlobalConfig.ConnectionString_read))
{
if (cn.State == System.Data.ConnectionState.Closed)
{
......@@ -5706,7 +5706,7 @@ namespace Bailun.DC.Services
}
using (var cn = new MySqlConnection(Common.GlobalConfig.ConnectionString))
using (var cn = new MySqlConnection(Common.GlobalConfig.ConnectionString_read))
{
if(cn.State== System.Data.ConnectionState.Closed)
{
......
......@@ -24,7 +24,7 @@
<script src="css/hplus/js/jquery.min.js?v=2.1.4"></script>
<script src="~/js/jquery.cookie.js" type="text/javascript"></script>
<script src="~/js/common.js?202009160007" type="text/javascript"></script>
<script src="~/js/common.js?202009160017" type="text/javascript"></script>
</head>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
......
......@@ -28,7 +28,7 @@
<script src="/css/hplus/js/jquery.min.js?v=2.1.4"></script>
<script src="/js/jquery.cookie.js" type="text/javascript"></script>
<script src="/js/common.js?20200220004" type="text/javascript"></script>
<script src="/js/common.js?20200220017" type="text/javascript"></script>
</head>
<body class="fixed-sidebar full-height-layout white-bg" style="overflow:hidden">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment