|
...
|
...
|
@@ -57,8 +57,8 @@ class WorkOrderDing extends Command |
|
|
|
$userid = $response->json()['data']['userid'];
|
|
|
|
$text = "**您有新的售后工单**<br>";
|
|
|
|
$text .= "工单ID:{$log->work_order_id}<br>";
|
|
|
|
$text .= "工单类型:<font color='red'>{$log->workOrder->product}</font><br>";
|
|
|
|
$text .= "项目:{$log->workOrder->project->title}<br>";
|
|
|
|
$text .= "工单类型:<font color='red'>{$log->ticket->title}</font><br>";
|
|
|
|
$text .= "项目:{$log->ticket->project->title}<br>";
|
|
|
|
$text .= "时间:{$log->created_at}<br>";
|
|
|
|
$ding = new DingTalkService();
|
|
|
|
$resp = $ding->danliao(json_encode([
|
...
|
...
|
|