From 0f2fdf16f47bd2d1d8fee86449c3a5095ccc8c23 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 21 十月 2022 18:32:04 +0800
Subject: [PATCH] 首发版本 2022.10.21
---
service/baserequest.js | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/service/baserequest.js b/service/baserequest.js
index fe6e570..3a5e333 100644
--- a/service/baserequest.js
+++ b/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
})
--
Gitblit v1.9.3