Ver Código Fonte

去掉消息通知

duhongyu 4 anos atrás
pai
commit
5e36062f8f

+ 7 - 6
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/information/InternalMessagesController.cs

@@ -353,12 +353,13 @@ namespace CallCenterApi.Interface.Controllers.information
353 353
             
354 354
             if(User!=null)
355 355
             {
356
-                var sql = " SMS_IsDelete=0 and SMS_IsRead=0 ";
357
-                sql += " and SMS_ReceiveUserCode='" + User.F_UserCode + "'";
358
-                if (smstype > 0)
359
-                    sql += " and SMS_Type="+ smstype;
360
-                var msglist = bll.GetModelList(sql + " order by SMS_IsTop desc,SMS_SendTime  desc");
361
-                return Success("获取消息成功", msglist);
356
+                //var sql = " SMS_IsDelete=0 and SMS_IsRead=0 ";
357
+                //sql += " and SMS_ReceiveUserCode='" + User.F_UserCode + "'";
358
+                //if (smstype > 0)
359
+                //    sql += " and SMS_Type="+ smstype;
360
+                //var msglist = bll.GetModelList(sql + " order by SMS_IsTop desc,SMS_SendTime  desc");
361
+                //return Success("获取消息成功", msglist);
362
+                return Success("获取成功");
362 363
             }
363 364
             return Error("权限不足");
364 365
         }