wangfukang 3 years ago
parent
commit
eae26822c9
  1. 12
      common/httpRequest.js

12
common/httpRequest.js

@ -1,17 +1,9 @@
/**
* 常用方法封装 请求,文件上传等
* @author Yazhi Li.
**/
const tui = {
//接口地址
interfaceUrl: function() {
// return 'https://storage.xenjoyou.com/hiver'
// return 'http://172.22.14.0:8888/hiver'
// return 'http://172.22.175.84:8888/hiver'
// return 'http://172.22.116.195:8888/hiver'
// return 'https://storage.xenjoyou.com/hiver' //测试服务器
// return 'https://dev.xenjoyou.com/hiver' //正式服务器
return 'http://192.168.1.19:8888/hiver'
// return 'http://154.8.162.157:8888/hiver'
},
toast: function(text, duration, success) {
uni.showToast({

Loading…
Cancel
Save