|
|
@@ -1,4 +1,5 @@
|
|
1
|
|
-using System;
|
|
|
1
|
+using CallCenter.Utility;
|
|
|
2
|
+using System;
|
|
2
|
3
|
using System.Collections;
|
|
3
|
4
|
using System.Collections.Generic;
|
|
4
|
5
|
using System.Configuration;
|
|
|
@@ -13,7 +14,7 @@ namespace CallCenterApi.DB
|
|
13
|
14
|
public abstract class DbHelperSQL
|
|
14
|
15
|
{
|
|
15
|
16
|
//数据库连接字符串(web.config来配置),可以动态更改connectionString支持多数据库.
|
|
16
|
|
- public static string connectionString = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
|
|
|
17
|
+ public static string connectionString = EncryptHelper.DecryptAES(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString);
|
|
17
|
18
|
public DbHelperSQL() { }
|
|
18
|
19
|
|
|
19
|
20
|
#region 公用方法
|