ソースを参照

更改接口参数大小写

yuqian 8 年 前
コミット
338f085477
共有1 個のファイルを変更した4 個の追加4 個の削除を含む
  1. 4 4
      CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/tel/SeatMonitoringController.cs

+ 4 - 4
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/tel/SeatMonitoringController.cs

@@ -15,13 +15,13 @@ namespace CallCenterApi.Interface.Controllers.tel
15 15
         /// 获取坐席列表
16 16
         /// </summary>
17 17
         /// <returns></returns>
18
-        public ActionResult GetList(string username, string deptId = "")
18
+        public ActionResult GetList(string username, string deptid = "")
19 19
         {
20 20
             ActionResult res = NoToken("未知错误,请重新登录");
21 21
             if (Request.IsAuthenticated)
22 22
             {
23 23
                 DataTable dt = new DataTable();
24
-                int deptid = CurrentUser.UserData.F_DeptId;
24
+                int deptId = CurrentUser.UserData.F_DeptId;
25 25
                 int roleid = CurrentUser.UserData.F_RoleId;
26 26
                 var deptCode = CurrentUser.UserData.F_UserCode;
27 27
                 BLL.T_Sys_UserAccount bll = new BLL.T_Sys_UserAccount();
@@ -41,14 +41,14 @@ namespace CallCenterApi.Interface.Controllers.tel
41 41
                         //各分公司
42 42
                         if (deptCode.Replace("|0|1|", "").Length > 0)
43 43
                         {
44
-                            sql += " and F_DeptId=" + deptid;
44
+                            sql += " and F_DeptId=" + deptId;
45 45
                         }
46 46
                     }
47 47
                 }
48 48
 
49 49
 
50 50
 
51
-                if (!string.IsNullOrWhiteSpace(deptId))
51
+                if (!string.IsNullOrWhiteSpace(deptid))
52 52
                 {
53 53
                     sql += " and F_DeptId=" + deptid;
54 54
                 }