作者 lyh

心跳设置

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