Commit f6308ca3 authored by 黄奎's avatar 黄奎

页面修改

parent c4fa3379
......@@ -1748,7 +1748,10 @@ namespace Mall.Module.Property
{
var smodel = SpList[i];
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);
}
......
......@@ -2461,9 +2461,13 @@ namespace Mall.WebApi.Controllers.Education
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());
ResultPageModel pageModel = new ResultPageModel()
{
pageSize = jObj.GetInt("pageSize"),
pageIndex=jObj.GetInt("pageIndex"),
};
var query = new RB_Education_Activity_Extend()
{
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