|
|
|
@ -1,12 +1,12 @@ |
|
|
|
const tui = { |
|
|
|
//接口地址
|
|
|
|
interfaceUrl: function() { |
|
|
|
// return 'https://hbkuaishi.com/hiver' //正式
|
|
|
|
return 'http://192.168.100.54:8888/hiver' //测试
|
|
|
|
return 'https://hbkuaishi.com/hiver' //正式
|
|
|
|
// return 'http://192.168.100.67:8888/hiver' //测试
|
|
|
|
}, |
|
|
|
toast: function(text, duration, success) { |
|
|
|
uni.showToast({ |
|
|
|
duration: duration || 2000, |
|
|
|
duration: duration || 300, |
|
|
|
title: text || "出错啦~", |
|
|
|
icon: success ? 'success' : 'none', |
|
|
|
mask:true |
|
|
|
|