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