index.js 519 Bytes
import req from '@/api/http.js'
const tourApi = {
	// 获取通道的视频直播与回放地址
	getLiveAndPlaybackAddress(params, config){
	  return req('GET', `/patrol/patrolDeviceChannel/getLiveAndPlaybackAddress`, params, config)
	},
    // 云控制
    ptzStart(params,config) {
        return req('PUT', `/patrol/patrolDeviceChannel/ptzStart`, params, config)
    },
    ptzStop(params,config) {
        return req('PUT', `/patrol/patrolDeviceChannel/ptzStop`, params, config)
    },
	
}
export default tourApi;