feat : order list
This commit is contained in:
@@ -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 赶时间 后续优化
|
||||
|
||||
Reference in New Issue
Block a user