Commit 7772e365 by guanzhenshan

测试只读实例

parent 53f770f0
...@@ -1867,7 +1867,7 @@ namespace Bailun.DC.Services ...@@ -1867,7 +1867,7 @@ namespace Bailun.DC.Services
sql += " group by t60.source"; 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) if (cn.State == System.Data.ConnectionState.Closed)
{ {
......
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