Commit 633b1e46 authored by 吴春's avatar 吴春

提交代码

parent fe91a9f8
...@@ -884,7 +884,7 @@ namespace Mall.Module.Education ...@@ -884,7 +884,7 @@ namespace Mall.Module.Education
{ {
List<string> openidList = new List<string>(); List<string> openidList = new List<string>();
openidList.Add(model.OpenId); openidList.Add(model.OpenId);
new MiniProgramMsgModule().SendCourseOrderTplMsg(model.TenantId, model.MallBaseId, openidList, model.CourseName, "老师:" + model.TeacherName + "时间:" + model.StudyDate.ToString("HH:mm"), model.StudyDate.ToString("MM月dd日")); new MiniProgramMsgModule().SendCourseOrderTplMsg(model.TenantId, model.MallBaseId, openidList, model.CourseName,model.RoomInfo, model.StudyDate.ToString("MM月dd日"));
} }
} }
pointTeacherCourseOrderRepository.DBSession.Commit(); pointTeacherCourseOrderRepository.DBSession.Commit();
......
...@@ -944,7 +944,7 @@ namespace Mall.Module.User ...@@ -944,7 +944,7 @@ namespace Mall.Module.User
{ {
touser = item, touser = item,
template_id = appletWeChatModel.CourseOrderTpl, template_id = appletWeChatModel.CourseOrderTpl,
page = "pages/order/index/index", page = "pages/appointment/personal/studentAppointmentList",
data = new data = new
{ {
thing1 = new thing1 = new
...@@ -953,7 +953,7 @@ namespace Mall.Module.User ...@@ -953,7 +953,7 @@ namespace Mall.Module.User
}, },
thing2 = new thing2 = new
{ {
value = UserName value = UserName.Substring(0, 18)
}, },
time4 = new time4 = new
{ {
......
...@@ -581,7 +581,9 @@ namespace Mall.WebApi.Controllers.Education ...@@ -581,7 +581,9 @@ namespace Mall.WebApi.Controllers.Education
{ {
string DayTime = string.Empty; string DayTime = string.Empty;
List<object> planList = new List<object>(); List<object> planList = new List<object>();
var nowDayList = oldPointGoodsList.Where(x => x.StudyDate.ToString("yyyy-MM-dd") == startTime.AddDays(i).ToString("yyyy-MM-dd")); var nowDayList = oldPointGoodsList.Where(x => x.StudyDate.ToString("yyyy-MM-dd") == startTime.AddDays(i).ToString("yyyy-MM-dd"));
int haveCourseCount = nowDayList.Count();
foreach (var item in nowDayList) foreach (var item in nowDayList)
{ {
planList.Add(new planList.Add(new
...@@ -611,7 +613,8 @@ namespace Mall.WebApi.Controllers.Education ...@@ -611,7 +613,8 @@ namespace Mall.WebApi.Controllers.Education
DateMonth = startTime.AddDays(i).ToString("MM"), DateMonth = startTime.AddDays(i).ToString("MM"),
DateDay = startTime.AddDays(i).ToString("dd"), DateDay = startTime.AddDays(i).ToString("dd"),
WeekStr = StringHelper.GetWeekChar(startTime.AddDays(i)), WeekStr = StringHelper.GetWeekChar(startTime.AddDays(i)),
PlanList = planList PlanList = planList,
HaveCourseCount = haveCourseCount
}); });
} }
......
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