static/api/api.js
@@ -1,10 +1,9 @@ export default class Api { syncRequest = function(option){ //正式 const BASEURL = 'http://111.205.161.131:5116'; const BASEURL = 'http://yyparking.smartai.com:5116'; //测试 //const BASEURL = 'http://192.168.20.10:7006'; //处理请求url // const BASEURL = 'http://58.118.176.201:5116'; if(option.url.indexOf('weather')<0 && option.url.indexOf('smartai')<0){ option.url = BASEURL+option.url;