信呼OA版本v2.3.8
This commit is contained in:
22
webmain/task/runt/dayAction.php
Normal file
22
webmain/task/runt/dayAction.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
class dayClassAction extends runtAction
|
||||
{
|
||||
//每天运行一次
|
||||
public function runAction()
|
||||
{
|
||||
|
||||
if($this->moderock('work'))m('flow')->initflow('work')->tododay(); //任务到期提醒
|
||||
|
||||
if($this->moderock('daiban'))m('flow')->initflow('daiban')->tododay(); //流程待办处理提醒
|
||||
|
||||
if($this->moderock('meet'))m('flow')->initflow('meet')->createmeet(); //会议生成
|
||||
|
||||
return 'success';
|
||||
}
|
||||
|
||||
//http://127.0.0.1/app/xinhu/task.php?m=day|runt&a=getitle
|
||||
public function getitleAction()
|
||||
{
|
||||
return TITLE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user