feat : order list

This commit is contained in:
2025-04-08 11:00:42 +08:00
parent 75ac9ece05
commit 1b5f5bc5da

View File

@@ -42,7 +42,9 @@ class GetSiteListService extends BaseDriverService
if (empty($res)) $res = $this->buildListData();
return $this->return->success('success', ['list' => $res]);
$status = $this->driverStatusModel->where('driver_id',$this->adminInfo->id)->where('cycle_id',$this->cycleId)->first();
return $this->return->success('success', ['list' => $res ,'status' => !empty($status)]);
}
// private function setCache() {} //todo 赶时间 后续优化