mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-13 15:16:38 +02:00
deliver bikes_occupied by stations_available request
This commit is contained in:
parent
a638aad485
commit
be17c401cc
6 changed files with 57 additions and 50 deletions
|
@ -2223,8 +2223,6 @@ sub stations_available(){
|
|||
}
|
||||
}
|
||||
$return->{$id}->{bike_count} = "$bike_count";
|
||||
|
||||
$return->{$id}->{uri_operator} = "$varenv->{wwwhost}";
|
||||
|
||||
$return->{$id}->{authed} = "$authed";
|
||||
$return->{$id}->{capacity} = "$record->{$id}->{int05}" || "1";
|
||||
|
@ -3000,15 +2998,6 @@ sub auth_verify(){
|
|||
print FILE "users_serviceapp: $users_serviceapp->{u_id} | $return->{authcookie}\n" if($debug);
|
||||
}
|
||||
|
||||
#if any no public user on request, then don't generate cache
|
||||
#my $public_user = 1;
|
||||
#if(ref($adrtarif_hash) eq "HASH"){
|
||||
# foreach my $atid (keys (%$adrtarif_hash)){
|
||||
# $public_user = 0 if($adrtarif_hash->{$atid} == 1);
|
||||
# }
|
||||
#}
|
||||
#$return->{public_user} = "$public_user";
|
||||
|
||||
print FILE "final return: $return->{authcookie}\n" if($debug);
|
||||
|
||||
close(FILE) if($debug);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue