|
@@ -91,7 +91,7 @@
|
|
|
|
|
|
chk_video() {
|
|
|
uni.request({
|
|
|
- url: 'https://fire.usky.cn:8443/YtIoT/cgi-bin/demo2.cgi',
|
|
|
+ url:this.companyCode==2?'http://124.71.175.91:80/cgi-bin/demo2.cgi': 'https://fire.usky.cn:8443/YtIoT/cgi-bin/demo2.cgi',
|
|
|
data: 'queryJson:' + JSON.stringify({
|
|
|
CMD: 1
|
|
|
}),
|
|
@@ -107,7 +107,8 @@
|
|
|
if (this.openId == this.onLineVideoList[n].DEVICE) {
|
|
|
this.reCount++;
|
|
|
if (this.onLineVideoList[n].ONAIR) {
|
|
|
- if ((++this.count) > 2) {
|
|
|
+ console.log(this.count)
|
|
|
+ if ((++this.count) > 0) {
|
|
|
// var mask = document.getElementById('videomask');
|
|
|
// if (mask != undefined) {
|
|
|
// removeDIV('videomask');
|
|
@@ -182,7 +183,7 @@
|
|
|
this.loadingStatus = true
|
|
|
// alert('一些loading操作')
|
|
|
uni.request({
|
|
|
- url: 'https://fire.usky.cn:8443/YtIoT/cgi-bin/demo2.cgi',
|
|
|
+ url:this.companyCode==2?'http://124.71.175.91:80/cgi-bin/demo2.cgi': 'https://fire.usky.cn:8443/YtIoT/cgi-bin/demo2.cgi',
|
|
|
data: 'queryJson:' + JSON.stringify({
|
|
|
CMD: 3,
|
|
|
BODY: {
|