Merge branch 'master' of http://gitea.enheng.asia/risin9/course
This commit is contained in:
commit
efb24136da
@ -1059,7 +1059,7 @@ class SendMsgCronJobService
|
|||||||
],
|
],
|
||||||
"lang" => "zh_CN",
|
"lang" => "zh_CN",
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
$result = (new WechatSubscriptService())->sendMsg($send_teacher_data);
|
$result = (new WechatSubscriptService())->sendMsg($send_teacher_data);
|
||||||
//@todo:写入日志中
|
//@todo:写入日志中
|
||||||
|
@ -11,7 +11,7 @@ class Task
|
|||||||
{
|
{
|
||||||
|
|
||||||
// 每天的7点50执行,注意这里省略了秒位
|
// 每天的7点50执行,注意这里省略了秒位
|
||||||
new Crontab('50 7 * * *', function(){
|
new Crontab('0 10 * * *', function(){
|
||||||
//上课前一天提醒教师、学生、家长
|
//上课前一天提醒教师、学生、家长
|
||||||
(new SendMsgCronJobService())->classBeginMsgToTeacherBeforeDay();
|
(new SendMsgCronJobService())->classBeginMsgToTeacherBeforeDay();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user