lihai лет назад: 8
Родитель
Сommit
6d153aeb0c

+ 2 - 2
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/IndexController.cs

604
         /// 即时通讯 - 获取最新通讯
604
         /// 即时通讯 - 获取最新通讯
605
         /// </summary>
605
         /// </summary>
606
         /// <returns></returns>
606
         /// <returns></returns>
607
-        public ActionResult GetChatList(int fromuserId, int userId)
607
+        public ActionResult GetChatList(int fromuserId)
608
         {
608
         {
609
             DataTable dt = null;
609
             DataTable dt = null;
610
             int recordCount = 0;
610
             int recordCount = 0;
611
             //取得前天日期
611
             //取得前天日期
612
             DateTime start = DateTime.Parse(DateTime.Now.AddDays(-2).ToShortDateString() + " 00:00:00");
612
             DateTime start = DateTime.Parse(DateTime.Now.AddDays(-2).ToShortDateString() + " 00:00:00");
613
             //接收坐席Id
613
             //接收坐席Id
614
-            //int userId = Utils.StrToInt(User.UserData["F_UserID"], 0);
614
+            int userId = Utils.StrToInt(User.UserData["F_UserID"], 0);
615
             if (fromuserId > 0)
615
             if (fromuserId > 0)
616
             {
616
             {
617
                 //条件(最近3天的记录)
617
                 //条件(最近3天的记录)