Add service_type to rider status #110
This commit is contained in:
parent
4652a82fff
commit
05959d5734
1 changed files with 3 additions and 0 deletions
|
|
@ -1034,6 +1034,7 @@ class APIController extends Controller
|
|||
$res->setData([
|
||||
'status' => APIRiderStatus::OUTLET_ASSIGN,
|
||||
'jo_id' => $jo->getID(),
|
||||
'service_type' => $jo->getServiceType(),
|
||||
'destination' => [
|
||||
'long' => $dest->getLongitude(),
|
||||
'lat' => $dest->getLatitude(),
|
||||
|
|
@ -1044,6 +1045,7 @@ class APIController extends Controller
|
|||
$res->setData([
|
||||
'status' => APIRiderStatus::RIDER_ASSIGN,
|
||||
'jo_id' => $jo->getID(),
|
||||
'service_type' => $jo->getServiceType(),
|
||||
'destination' => [
|
||||
'long' => $dest->getLongitude(),
|
||||
'lat' => $dest->getLatitude(),
|
||||
|
|
@ -1060,6 +1062,7 @@ class APIController extends Controller
|
|||
$res->setData([
|
||||
'status' => APIRiderStatus::RIDER_PICK_UP,
|
||||
'jo_id' => $jo->getID(),
|
||||
'service_type' => $jo->getServiceType(),
|
||||
'destination' => [
|
||||
'long' => $dest->getLongitude(),
|
||||
'lat' => $dest->getLatitude(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue