Commit af6a7a77 authored by 黄奎's avatar 黄奎

页面修改

parent 96c1e72e
...@@ -198,46 +198,50 @@ namespace Edu.WebApi.Controllers.User ...@@ -198,46 +198,50 @@ namespace Edu.WebApi.Controllers.User
uploadConfig?.UploadDomain uploadConfig?.UploadDomain
}; };
} }
//for (var i = 0; i < 10; i++) if (Common.Config.IsOnline)
//{ {
// Random rd = new Random(); for (var i = 0; i < 10; i++)
// int num = rd.Next(0, 1000); {
// Common.Message.PushMessageModel model = new Common.Message.PushMessageModel() Random rd = new Random();
// { int num = rd.Next(0, 1000);
// CategoryId = 0, Common.Message.PushMessageModel model = new Common.Message.PushMessageModel()
// Content = "推送内容" + i.ToString(), {
// CoverImg = "", CategoryId = 0,
// CreateByName = userInfo.AccountName, Content = DateTime.Now.ToString("yyyyMMdd HH:mm:ss fff") + "推送内容" + i.ToString(),
// JumpUrl = "", CoverImg = "",
// ReceiveId = "1", CreateByName = userInfo.AccountName,
// SendTime = DateTime.Now, JumpUrl = "",
// SendType = 0, ReceiveId = "1",
// Title = "推送标题" + i.ToString(), SendTime = DateTime.Now,
// }; SendType = 0,
// //手机推送 Title = DateTime.Now.ToString("yyyyMMdd HH:mm:ss fff") + "推送标题" + i.ToString(),
// if (num % 4 == 1) };
// { //手机推送
// model.Platform = 1; if (num % 4 == 1)
// } {
// //Web推送 model.Platform = 1;
// else if (num % 4 == 2) }
// { //Web推送
// model.Platform = 2; else if (num % 4 == 2)
// } {
// //短信推送 model.Platform = 2;
// else if (num % 4 == 3) }
// { //短信推送
// model.Platform = 3; else if (num % 4 == 3)
// model.ReceiveId = "13551126755"; {
// } model.Platform = 3;
// //邮件推送 model.ReceiveId = "13551126755";
// else }
// { //邮件推送
// model.Platform = 4; else
// model.ReceiveId = "1006186972@qq.com"; {
// } model.Platform = 4;
// Common.Message.MessageHelper.SendMessage(model); model.ReceiveId = "1006186972@qq.com";
//} }
Common.Message.MessageHelper.SendMessage(model);
}
}
return ApiResult.Success(data: userInfo); return ApiResult.Success(data: userInfo);
} }
else else
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
//未填写 未打分 下降比例 //未填写 未打分 下降比例
"OKRMatterValue": "30,100,100", "OKRMatterValue": "30,100,100",
//是否是线上环境 //是否是线上环境
"IsOnline": false, "IsOnline": true,
//退课流程编号 //退课流程编号
"BackClassFlowId": 1, "BackClassFlowId": 1,
//分区校长岗位编号 //分区校长岗位编号
......
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