Browse Source

修改请求方法

master
邓宏 2 years ago
parent
commit
f778295129
  1. 3
      common/request.js

3
common/request.js

@ -5,12 +5,13 @@ export function host(host='default',suffix='/plant_manage'){
// default:`http://i5skii.natappfree.cc` //陈
// default:`http://jjytvc.natappfree.cc` //马
// default:`http://6exd5b.natappfree.cc` //何
default:"http://192.168.0.23:7000"
default:"http://192.168.0.43:7000"
}:{
default:``
}
return ({
default:`${url.default}${suffix}`,
version:`${url.default}/plant_manage/sys/common/static/${suffix}`,
imgUrl:`${url.default}/plant_manage/sys/common/static`
})[host]
}

Loading…
Cancel
Save