瀏覽代碼

修改bug

zhoufan 7 年之前
父節點
當前提交
95dc44bcbf

+ 11 - 0
CallCenterApi/CallCenterApi.Common/CommonHelper.cs

@@ -288,5 +288,16 @@ namespace CallCenterApi.Common
288 288
                 return false;
289 289
             }
290 290
         }
291
+
292
+        /// <summary>
293
+        /// 获取签名
294
+        /// </summary>
295
+        /// <param name="url"></param>
296
+        /// <returns></returns>
297
+        public static string getsigncode(string controller, string action, string sign)
298
+        {
299
+            string signcode = EncryptHelper.MD5Encrypt(controller.ToLower() + "/" + action.ToLower() + "+" + EncryptHelper.SHA1Encrypt(sign + "+" + DateTime.Now.ToString("yyyyMMdd")));
300
+            return signcode;
301
+        }
291 302
     }
292 303
 }

+ 3 - 0
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/WebController.cs

@@ -909,6 +909,7 @@ namespace CallCenterApi.Interface.Controllers
909 909
 
910 910
             var obj = new
911 911
             {
912
+                state = ResultTypes.success.ToString(),
912 913
                 rows = dt,
913 914
                 total = recordCount
914 915
             };
@@ -1047,8 +1048,10 @@ namespace CallCenterApi.Interface.Controllers
1047 1048
                 pageindex,
1048 1049
                 true,
1049 1050
                 out recordCount);
1051
+
1050 1052
             var obj = new
1051 1053
             {
1054
+                state = ResultTypes.success.ToString(),
1052 1055
                 rows = dt,
1053 1056
                 total = recordCount
1054 1057
             };

+ 8 - 1
项目其他说明/文档/清理工单sql.txt

@@ -11,9 +11,11 @@ truncate table dbo.rep_trunk_call_in
11 11
 
12 12
 truncate table dbo.T_Bus_Additional
13 13
 truncate table dbo.T_Bus_AssignedInfo
14
+truncate table dbo.T_Bus_AssignedInfo_Next
14 15
 truncate table dbo.T_Bus_AssignedItemInfo
15 16
 truncate table dbo.T_Bus_DelayTime
16 17
 truncate table dbo.T_Bus_Feedback
18
+truncate table dbo.T_Bus_Feedback_Next
17 19
 truncate table dbo.T_Bus_NoticeCriticism
18 20
 truncate table dbo.T_Bus_Operation
19 21
 truncate table dbo.T_Bus_RemindRecord
@@ -67,10 +69,15 @@ truncate table dbo.T_Sys_Class
67 69
 truncate table dbo.T_Sys_GroupClass
68 70
 truncate table dbo.T_Sys_Group
69 71
 truncate table dbo.T_Sys_LoginLogs
72
+truncate table dbo.T_Sys_UserClass
70 73
 truncate table dbo.T_Sys_UserGroup
71 74
 truncate table dbo.T_Sys_Users
75
+truncate table dbo.T_Sys_WorkTimes
72 76
 
73 77
 delete dbo.T_Sys_UserAccount where F_UserCode !='8000'
74 78
 
75 79
 truncate table dbo.T_Web_News
76
-truncate table dbo.T_Web_Link
80
+truncate table dbo.T_Web_Link
81
+truncate table dbo.T_Web_SurveyResult
82
+truncate table dbo.T_Web_WorkAccountSearch
83
+truncate table dbo.T_Web_WorkRelease