riku
2022-10-28 b45a01a8bee4a9bff5f9c248ead301b8675d1099
service/baserequest.js
@@ -12,11 +12,14 @@
const originProperties = ['url', 'data', 'header', 'method', 'success', 'fail', 'complete'];
// const baseUrl = "http://192.168.0.137:8080"
const baseUrl = "https://fyami.com.cn:447"
// const basePicUrl = baseUrl + "/images/"
const basePicUrl = "https://fyami.com.cn:447/images/"
const baseIconUrl = "https://fyami.com.cn:447/images/weixin/eplaw/"
const baseFileUrl = "https://fyami.com.cn:447/meeting/file/"
// const baseUrl = "https://fyami.com.cn:447"
const baseUrl = "https://fyami.com.cn"
const bu = "https://fyami.com.cn"
// const bu = "https://fyami.com.cn:447"
const basePicUrl = `${bu}/images/`
const baseIconUrl = `${bu}/images/weixin/eplaw/`
const baseFileUrl = `${bu}/meeting/file/`
function request(fun) {
  if (fun.params != undefined) {
@@ -59,7 +62,7 @@
    console.log("--------------请求错误----------------" + fun.url);
    console.log(error);
    wx.showToast({
      title: error.errMsg,
      title: '请求失败',
      icon: 'none',
      duration: 2000
    })