Commit f6308ca3 authored by 黄奎's avatar 黄奎

页面修改

parent c4fa3379
...@@ -1748,7 +1748,10 @@ namespace Mall.Module.Property ...@@ -1748,7 +1748,10 @@ namespace Mall.Module.Property
{ {
var smodel = SpList[i]; var smodel = SpList[i];
var svmodel = smodel.SpecificationValueList.Where(x => x.Sort == Convert.ToInt32(ssarr[i])).FirstOrDefault(); var svmodel = smodel.SpecificationValueList.Where(x => x.Sort == Convert.ToInt32(ssarr[i])).FirstOrDefault();
AttrList.Add(smodel.Name + ":" + svmodel.Name); if (svmodel != null)
{
AttrList.Add(smodel.Name + ":" + svmodel.Name);
}
} }
item.AttrStr = JsonConvert.SerializeObject(AttrList); item.AttrStr = JsonConvert.SerializeObject(AttrList);
} }
......
...@@ -2461,9 +2461,13 @@ namespace Mall.WebApi.Controllers.Education ...@@ -2461,9 +2461,13 @@ namespace Mall.WebApi.Controllers.Education
EduStudentId = RequestParm.EduStudentId EduStudentId = RequestParm.EduStudentId
}; };
} }
// var parms = JsonConvert.DeserializeObject<RequestParm>(requestMsg.ToString());
ResultPageModel pageModel = JsonConvert.DeserializeObject<ResultPageModel>(req.msg.ToString());
JObject jObj = JObject.Parse(req.msg.ToString()); JObject jObj = JObject.Parse(req.msg.ToString());
ResultPageModel pageModel = new ResultPageModel()
{
pageSize = jObj.GetInt("pageSize"),
pageIndex=jObj.GetInt("pageIndex"),
};
var query = new RB_Education_Activity_Extend() var query = new RB_Education_Activity_Extend()
{ {
SelectIsEnd = jObj.GetInt("SelectIsEnd", 0), SelectIsEnd = jObj.GetInt("SelectIsEnd", 0),
......
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