QiFeng.ZWY.MagWeb/Controllers/MessageController.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System.Web.Mvc;
using QiFeng.LMSD.Bll;
using QiFeng.LMSD.Model.Dto;
namespace QiFeng.LMSD.MagWeb.Controllers
{
[Authorization]
public class MessageController : BaseController
{
//private readonly McMessageRecipientsBll _bll = new McMessageRecipientsBll();
// GET: Message
public ActionResult List()
{
return View();
}
[HttpPost]
public JsonResult Listing(int draw, int start, int length)
{
//int shopId = CurrentUser.ShopId;
//int order;
//int.TryParse(Request["order[0][column]"], out order);
//string direction = Request["order[0][dir]"];
//var orderByColumns = new[] {"Created", "Title", "Body", "IsRead"};
//string search = Request["search[value]"];
//int pageIndex = (start/length) + 1;
//TableDataViewDto<ViewMcMessageReceivedDto> theList = _bll.GetPagingListForShop(draw, pageIndex, length,
// shopId, SqlSafe(search),
// orderByColumns[order] + " " + direction);
//JsonResult jsonResult = Json(theList);
//jsonResult.MaxJsonLength = int.MaxValue;
//return jsonResult;
return null;
}
[HttpPost]
public JsonResult GetLastestMessage()
{
//int shopId = CurrentUser.ShopId;
//TableDataViewDto<ViewMcMessageReceivedDto> theList = _bll.GetPagingListForShop(0, 1, 11, shopId, "", null);
//return Json(theList);
return null;
}
/// <summary>
/// 所有消息数
/// </summary>
/// <returns></returns>
[HttpPost]
public JsonResult GetMessageCount()
{
//int shopId = CurrentUser.ShopId;
后面还有 29 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。