sigo2copri content cache

This commit is contained in:
Rainer Gümpelein 2022-04-05 12:29:58 +02:00
parent d06556bd60
commit c40f326d37
8 changed files with 88 additions and 26 deletions

View file

@ -92,8 +92,6 @@ my %varenv = $cf->envonline();
{-language=>'JAVASCRIPT',
-src=>"$varenv{metahost}/$dbt->{copri_conf}->{jsscript}"},
{-language=>'JAVASCRIPT',
-src=>"$varenv{metahost}/js/shareespecial.js"},
{-language=>'JAVASCRIPT',
-code=>"$dyn_js"}
],
-STYLE=>{
@ -153,18 +151,20 @@ print $q->div({-style=>'margin:15px;'},$q->a({-target=>'_blank', -href=>"$user_m
print $q->div({-style=>'margin:15px;'}," "),"\n";
#config
my $uriop = "$dbt->{operator}->{$operator_key}->{operatorApp}/APIjsonserver";
my $bike = "FR1006";
my $bike = "FR1003";
my $latitude = "47.927738";
my $longitude = "7.973855";
my $system = "Ilockit";
#not used
my $and_station_state_locking = "";
my $and_station_state_locked = "";
my $and_station_state_unlocked = "";
#sigo test lock
if(1==1){
$bike = "FR1006";
$system = "sigo";
#system=sigo
if($operator_key eq "sharee_sx"){
$bike = "SX1150";
$latitude = "";
$longitude = "";
#$and_station_state_locking = "&station_state=locking";
#$and_station_state_locked = "&station_state=locked";
#$and_station_state_unlocked = "&station_state=unlocked";