riku
2025-06-09 38ff09bd2a638bc43a365efe0390cc3510d62e68
src/api/index.js
@@ -3,20 +3,21 @@
const debug = true
let ip1 = 'http://47.100.191.150:9005/'
var IP = '47.100.191.150'
var PORT = '9005'
if (debug) {
  IP = '192.168.0.103'
  PORT = '9001'
}
let ws = `${IP}:${PORT}`
let ip1 = `http://${IP}:${PORT}/`
let ip1_file = 'http://47.100.191.150:9005/'
// let ip1 = 'https://fyami.com.cn:447/';
// let ip1_file = 'https://fyami.com.cn:447/';
let ip2 = 'https://fyami.com.cn/'
let ip2_file = 'https://fyami.com.cn/'
if (debug) {
  // ip1 = 'http://192.168.0.138:8082/'
  ip1 = 'http://localhost:8080/'
  // ip1_file = 'http://47.100.191.150:9005/';
  // ip2 = 'http://192.168.0.138:8080/';
  // ip2_file = 'https://fyami.com.cn/';
}
//飞羽监管
const $fysp = axios.create({
@@ -97,4 +98,4 @@
  )
})
export { $fysp, $fytz }
export { $fysp, $fytz, ws }