feat : order list

This commit is contained in:
2025-04-08 11:23:21 +08:00
parent a14f95958a
commit b436f5a015
3 changed files with 6 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ declare(strict_types=1);
namespace App\Service\Api\Driver;
use App\Constants\Admin\CateringCode;
use App\Constants\Common\DriverCode;
use App\Constants\Common\OrderCode;
use App\Exception\ErrException;
use App\Model\Order;
@@ -60,6 +61,7 @@ class LoadActionService extends BaseDriverService
$list = $this->buildListData();
foreach ($list as &$one) {
$one['status'] = DriverCode::DEPARTURES;
$one['meal_list'] = json_encode($one['meal_list']);
}