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