mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-07-12 00:16:26 +02:00
Operator sharee_mak init
This commit is contained in:
parent
75c38a8721
commit
b586568e68
8 changed files with 33 additions and 55 deletions
|
@ -6,7 +6,7 @@
|
|||
#SMS message if 24h,48h,72h occupied
|
||||
#sudo su www-data -c "./src/scripts/sms_message.pl shareedms-fr01 '24h_occupied' '' ''"
|
||||
#
|
||||
#SMS message locking_progress after 45sec
|
||||
#SMS message locking_progress after 60sec
|
||||
#sudo su www-data -c "./src/scripts/sms_message.pl shareeapp-operator locking_progress '0179xxxx372' $pos_id"
|
||||
#
|
||||
#
|
||||
|
@ -107,9 +107,9 @@ if($todo eq "24h_occupied"){
|
|||
}
|
||||
}#end
|
||||
|
||||
#SMS message locking_progress after 45sec
|
||||
#SMS message locking_progress after 60sec
|
||||
if($todo eq "locking_progress" && $phone && $pos_id){
|
||||
sleep 45;
|
||||
sleep 60;
|
||||
#select booking pos if lock_state=locking still set
|
||||
my $booking_pos = {
|
||||
table => "contenttranspos",
|
||||
|
|
|
@ -159,7 +159,6 @@ my $and_station_state_unlocked = "";
|
|||
|
||||
#system=sigo
|
||||
if($operator_key eq "sharee_sx"){
|
||||
#$bike = "SX1150";
|
||||
$latitude = "";
|
||||
$longitude = "";
|
||||
#$and_station_state_locking = "&station_state=locking";
|
||||
|
@ -168,15 +167,18 @@ if($operator_key eq "sharee_sx"){
|
|||
}
|
||||
|
||||
if($operator_key eq "sharee_kn"){
|
||||
#$bike = "KN259";
|
||||
$latitude = "47.66267";
|
||||
$longitude = "9.17262";
|
||||
}
|
||||
if($operator_key eq "sharee_wue"){
|
||||
#$bike = "WUE5529";
|
||||
$latitude = "47.997930";
|
||||
$longitude = "7.785428";
|
||||
}
|
||||
if($operator_key eq "sharee_ren"){
|
||||
$latitude = "48.8975726";
|
||||
$longitude = "11.170959";
|
||||
}
|
||||
|
||||
print $q->div({-style=>'margin:15px;'},"-------------- $uriop --------------------"),"\n";
|
||||
my $booking_request = "$uriop?request=booking_request&bike=$bike&authcookie=$coo";
|
||||
print $q->div({-style=>'margin:15px;'},$q->a({-target=>'_blank', -href=>"$booking_request"},"[ booking_request ]---> $booking_request")),"\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue