master
cody 4 months ago
parent a03f1b9675
commit 45a0cd5370

@ -259,6 +259,12 @@ class SupplyDemandController extends CommonController
if (isset($all['supply_demand_id'])) {
SupplyDemand::where('id', $all['supply_demand_id'])->increment('contact_count');
}
} else {
// 存在对话如果也存在供需信息id则更新供需id到最新
if (isset($all['supply_demand_id'])) {
$dialogue->supply_demand_id = $all['supply_demand_id'];
$dialogue->save();
}
}
if (isset($all['supply_demand_id'])) {
$now = date('Y-m-d');

Loading…
Cancel
Save