tianyi 1 month ago
parent
commit
9c4366f1fe
  1. 6
      common/httpRequest.js

6
common/httpRequest.js

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

Loading…
Cancel
Save