master
cody 5 months ago
parent a7df31b00f
commit 1bee923281

@ -223,7 +223,7 @@ class SupplyDemandController extends CommonController
if ($validator->fails()) {
return $this->fail([ResponseCode::ERROR_PARAMETER, implode(',', $validator->errors()->all())]);
}
$model = SupplyDemand::find($all['id']);
$model = SupplyDemand::find($all['supply_demand_id']);
if (empty($model)) {
return $this->fail([ResponseCode::ERROR_BUSINESS, '供需数据不存在']);
}

Loading…
Cancel
Save