|
@@ -287,7 +287,7 @@ var showInfo = function(e){
|
|
qobj.I_COMMAND = 4;
|
|
qobj.I_COMMAND = 4;
|
|
var qdata = "queryJson="+JSON.stringify(qobj);
|
|
var qdata = "queryJson="+JSON.stringify(qobj);
|
|
// var qurl = 'https://iot.usky.cn/YtIoT/cgi-bin/WebAction2.cgi';
|
|
// var qurl = 'https://iot.usky.cn/YtIoT/cgi-bin/WebAction2.cgi';
|
|
- var qurl = 'http://47.103.74.123:8080/YtIoT/cgi-bin/WebAction.cgi';
|
|
|
|
|
|
+ var qurl = 'https://fire.usky.cn:8443/YtIoT/cgi-bin/WebAction.cgi';
|
|
$.ajax({
|
|
$.ajax({
|
|
type:'POST',
|
|
type:'POST',
|
|
url: qurl,
|
|
url: qurl,
|
|
@@ -570,9 +570,9 @@ var getCurrentData = function(){
|
|
if($("#company_code").val().length>0)
|
|
if($("#company_code").val().length>0)
|
|
query.company_code = $("#company_code").val();
|
|
query.company_code = $("#company_code").val();
|
|
var qdata = JSON.stringify(query);
|
|
var qdata = JSON.stringify(query);
|
|
- var qurl = 'http://47.103.74.123:8080/YtIoT/cgi-bin/WebAction.cgi';
|
|
|
|
|
|
+ var qurl = 'https://fire.usky.cn:8443/YtIoT/cgi-bin/WebAction.cgi';
|
|
// if((baseUrl.indexOf('localhost')>=0)||(baseUrl.indexOf('127.0.0.1')>=0))
|
|
// if((baseUrl.indexOf('localhost')>=0)||(baseUrl.indexOf('127.0.0.1')>=0))
|
|
- qurl = 'http://47.103.74.123:8080/YtIoT/cgi-bin/WebAction.cgi';
|
|
|
|
|
|
+ qurl = 'https://fire.usky.cn:8443/YtIoT/cgi-bin/WebAction.cgi';
|
|
$.ajax({
|
|
$.ajax({
|
|
type:'POST',
|
|
type:'POST',
|
|
url: qurl,
|
|
url: qurl,
|
|
@@ -1503,7 +1503,7 @@ var showOperat = function(){
|
|
qobj.I_COMMAND = 4;
|
|
qobj.I_COMMAND = 4;
|
|
var qdata = "queryJson="+JSON.stringify(qobj);
|
|
var qdata = "queryJson="+JSON.stringify(qobj);
|
|
// var qurl = 'https://47.103.74.123:8080/YtIoT/cgi-bin/WebAction2.cgi';
|
|
// var qurl = 'https://47.103.74.123:8080/YtIoT/cgi-bin/WebAction2.cgi';
|
|
- var qurl = 'http://47.103.74.123:8080/YtIoT/cgi-bin/WebAction.cgi';
|
|
|
|
|
|
+ var qurl = 'https://fire.usky.cn:8443/YtIoT/cgi-bin/WebAction.cgi';
|
|
for(var i=0;i<StatusStore.length;i++){
|
|
for(var i=0;i<StatusStore.length;i++){
|
|
var obj = StatusStore[i];
|
|
var obj = StatusStore[i];
|
|
d1 += obj.d1;
|
|
d1 += obj.d1;
|