Commit c38fae48 authored by 黄奎's avatar 黄奎

消息推送调整

parent e7f559c7
......@@ -318,7 +318,7 @@ namespace Edu.Module.Duty
{
var path = $"/h5page/TrialClass?Id={model.Id}";//这个地址是欠费的通知地址,后续有H5需要改
path = HttpUtility.UrlEncode(path);
string newUrl = $"{Config.ErpUrl}/login?loginId={x.Id}&target={path}";
string newUrl = $"{Config.ErpUrl}/autologin?loginId={x.Id}&target={path}";
Common.Plugin.LogHelper.WriteInfo("试听推送::" + newUrl);
var content = $"<font color='info'>学员试听课通知</font>\n>**概要信息** \n>学员名称:<font color='warning'>{guestModel.StuName}({guestModel.StuRealMobile})</font>\n>预约时间:<font color='warning'>{Common.ConvertHelper.FormatDate(model.ReservationDate)}</font>\n>试听需求:<font color='warning'>{Common.Plugin.StringHelper.FilterHtml(model.Demand)}</font>\n>请 点 击:[查看详情]({newUrl})";
PushWorkChatHelper.PushToWorkChat(content, x.WorkUserId, "学员试听课通知");
......
......@@ -29,7 +29,7 @@
"UploadSiteUrl": "http://192.168.5.128:8120",
"ViewFileSiteUrl": "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com",
"ErpViewFileSiteUrl": "http://imgfile.oytour.com",
"ErpUrl": "http://localhost:8181/#",
"ErpUrl": "http://localhost:8181",
"EducationUrl": "http://localhost:8181/",
"WorkAPPDomain": "http://m.kookaku.com/pages",
"Mongo": "mongodb://47.96.23.199:27017",
......
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