master
cody 4 months ago
parent 80da00385b
commit d954e783d0

@ -256,7 +256,9 @@ class SupplyDemandController extends CommonController
'supply_demand_id' => $all['supply_demand_id'] ?? 0
]);
// 增加联系次数
SupplyDemand::where('id', $all['supply_demand_id'])->increment('contact_count');
if (isset($all['supply_demand_id'])) {
SupplyDemand::where('id', $all['supply_demand_id'])->increment('contact_count');
}
}
if (isset($all['supply_demand_id'])) {
$now = date('Y-m-d');

Loading…
Cancel
Save