liuyg
2022-02-21 e3dcaeb0180a4e37347ac9ceb44c8a59ae7af37f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
let i = 1;//1是服务器
if (i) {
    var api = 'http://223.82.109.183:2082/api/';
    var wsapi = 'ws://223.82.109.183:2082/wss/websocket';
} else {
    var api = 'http://192.168.0.108:83/';
    var wsapi = 'ws://192.168.0.108:9034/websocket';
}
 
// piAPI: 'http://223.82.109.183:2082/api/',
// piAPI: 'http://192.168.0.108:83/',
 
export default {
    api: api,
    wsapi: wsapi
}