操作步骤如下:
1. 打开 app/Http/Service/Schedule/ScheduleService.php 文件,找到位于 547 行的 scheduleInfo 方法, 替换以下内容;
$info['linkName'] = match ($info['cid']) {
ScheduleEnum::TYPE_CLIENT_TRACK => app()->get(CustomerService::class)->value($info['link_id'], 'customer_name'),
ScheduleEnum::TYPE_CLIENT_RENEW, ScheduleEnum::TYPE_CLIENT_RETURN => app()->get(ContractService::class)->value($info['link_id'], 'contract_name'),
default => '',
};
2. 保存文件并重启守护进程。