作者 lyh

心跳设置

... ... @@ -92,7 +92,6 @@ class ReplaceHtmlLog extends Command
'main_html' => DB::raw("REPLACE(main_html, '" . addslashes($old_html) . "', '" . addslashes($html) . "')"),
'updated_at' => now(),
]);
}
return true;
}
... ...
... ... @@ -871,7 +871,7 @@ class ProjectLogic extends BaseLogic
'phone' => $data['principal_mobile'],
'planday' => $data['exclusive_hagro_day'] ?: 1,
'from_order_id' => $data['from_order_id'],
'agent_phone' => Channel::where('source_id', $data['company_id'])->value('contact_mobile') ?: '',
'agent_phone' => Channel::where('id', $data['company_id'])->value('contact_mobile') ?: '',
'nickname' => $data['nickname'],
];
$common = new Common();
... ...