Commit 8627257f authored by 黄奎's avatar 黄奎

页面修改

parent 810166cb
......@@ -2498,19 +2498,27 @@ namespace Mall.WebApi.Controllers.Education
EduStudentId = RequestParm.EduStudentId
};
}
ResultPageModel pageModel = new ResultPageModel();
var query = new RB_Education_Activity_Extend();
try
{
JObject jObj = JObject.Parse(req.msg.ToString());
ResultPageModel pageModel = new ResultPageModel()
pageModel = new ResultPageModel()
{
pageSize = jObj.GetInt("pageSize"),
pageIndex=jObj.GetInt("pageIndex"),
pageIndex = jObj.GetInt("pageIndex"),
};
var query = new RB_Education_Activity_Extend()
query = new RB_Education_Activity_Extend()
{
SelectIsEnd = jObj.GetInt("SelectIsEnd", 0),
ActivityName = jObj.GetStringValue("ActivityName"),
ActivityType = jObj.GetInt("ActivityType", 0),
};
}
catch
{
}
query.IsQueryCoverImage = "1";
query.SelectStartTimeStr = System.DateTime.Now.ToString("yyyy-MM-dd");
query.SelectEndTimeStr = System.DateTime.Now.AddDays(60).ToString("yyyy-MM-dd");
......@@ -2529,7 +2537,6 @@ namespace Mall.WebApi.Controllers.Education
}
}
}
pageModel.count = Convert.ToInt32(rowsCount);
var result = list.Select(x => new
{
......@@ -2642,8 +2649,16 @@ namespace Mall.WebApi.Controllers.Education
EduStudentId = RequestParm.EduStudentId
};
}
int Id = 0;
try
{
JObject parm = JObject.Parse(req.msg.ToString());
int Id = parm.GetInt("Id");
Id = parm.GetInt("Id");
}
catch
{
}
if (Id == 0)
{
return ApiResult.Failed("活动id不为空");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment