This commit is contained in:
2025-09-13 01:08:51 +08:00
parent f65d07884f
commit d76a5ba5a5
29 changed files with 941 additions and 0 deletions

View File

@ -0,0 +1,29 @@
<?php
/*
* @Author: 863465124 863465124@qq.com
* @Date: 2022-07-11 13:48:20
* @LastEditors: 863465124 863465124@qq.com
* @LastEditTime: 2022-07-12 17:15:15
* @FilePath: /RemoteWorking/config/autoload/swoole.timer.global.php
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
return [
'swoole.timer' => [
// 每天定时扫描所有未识别的化验单图片,进行自动识别
'ocrImg' => [
'msec' => '86400000', // 时间(毫秒),
'startTime' => date('Y-m-d 01:30:00', strtotime(' +1 day')), // 任务开始时间,不设置代表服务启动后,立即执行
'endTime' => '', // 任务结束时间,不设置则代表一直执行下去
'serviceName' => 'Patientchecktime', // 服务名称
'funName' => 'EditPatientChecktimeStatus' // 服务方法名称,暂时不知道传递参数
],
// 每天定时扫描所有正常受试者(非脱离/完成),更新受试者当前所处检查点
'scanPatientChecktime' => [
'msec' => '86400000', // 时间(毫秒),
'startTime' => date('Y-m-d 00:30:00', strtotime(' +1 day')), // 任务开始时间,不设置代表服务启动后,立即执行
'endTime' => '', // 任务结束时间,不设置则代表一直执行下去
'serviceName' => 'Patientchecktime', // 服务名称
'funName' => 'AllPatient' // 服务方法名称,暂时不知道传递参数
]
]
];