|
|
@ -32,7 +32,7 @@ |
|
|
|
}, |
|
|
|
getAuthCameras(token){ |
|
|
|
var that=this; |
|
|
|
this.$axios.post("http://172.20.41.195:9006/video/api/getAuthCameras",null,{ |
|
|
|
this.$http.post("http://172.20.41.195:9006/video/api/getAuthCameras",null,{ |
|
|
|
headers: { |
|
|
|
Authorization: token |
|
|
|
}}) |
|
|
@ -41,7 +41,7 @@ |
|
|
|
}); |
|
|
|
}, |
|
|
|
getLogin(){ |
|
|
|
this.$axios |
|
|
|
this.$http |
|
|
|
.post("http://172.20.41.195:9006/video/api/login",this.userData) |
|
|
|
.then((res) => { |
|
|
|
this.token=res.data.data.token; |
|
|
|