上传附件优化

This commit is contained in:
Dev
2026-09-30 16:57:26 +08:00
parent 36697b8b57
commit 2ed3d48717
5 changed files with 138 additions and 24 deletions
@@ -47,7 +47,7 @@ class DemandDeal extends Command
try {
Db::transaction(function () use ($item, $confirmReceiptTimeoutDay) {
//未发货的需求不自动确认收货,等待开发者发货交付
$ship = OrderShipService::where(['demand_id' => $item->id])->order('id', 'desc')->find();
$ship = OrderShipService::getDemandLastShip($item->id);
if (!$ship) {
return;
}