From d82bbf1584f5ff51bf543309a9b22cfd5cd33023 Mon Sep 17 00:00:00 2001 From: Double-_-Z <2492419643@qq.com> Date: Fri, 7 Feb 2025 21:28:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E7=80=91=E5=B8=83=E6=B5=81=E5=85=BC=E5=AE=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config.service.js | 8 ++-- manifest.json | 36 ++++++++------- pages/mobile_web/my/child_pages/login.vue | 5 +++ pages/mobile_web/recharge/detail.vue | 8 +++- pages/mobile_web/wall/detail.vue | 39 ++++++++++++++-- pages/mobile_web/work/work.vue | 55 +++++++++++++++++++---- 6 files changed, 118 insertions(+), 33 deletions(-) diff --git a/common/config.service.js b/common/config.service.js index f1b8285..c26c834 100644 --- a/common/config.service.js +++ b/common/config.service.js @@ -4,12 +4,12 @@ let BASE_URL = '/pixelApi'; // #endif // #ifdef APP-PLUS ||MP -let BASE_URL = 'http://8.138.171.103/pixelApi';// 测试环境 -// let BASE_URL = 'https://www.ylemai.cn/pixelApi';// 正式环境 +// let BASE_URL = 'http://8.138.171.103/pixelApi';// 测试环境 +let BASE_URL = 'https://www.ylemai.cn/pixelApi';// 正式环境 // #endif -let IP = 'http://8.138.171.103/';// 测试环境 -// let IP = 'https://www.ylemai.cn/';// 正式环境 +// let IP = 'http://8.138.171.103/';// 测试环境 +let IP = 'https://www.ylemai.cn/';// 正式环境 let FILE_URL = IP+'static/'; // 阿里OSS地址 let ALIOSS_URL = 'http://guojunjie.oss-cn-hangzhou.aliyuncs.com'; diff --git a/manifest.json b/manifest.json index 21f8406..f6c3edb 100644 --- a/manifest.json +++ b/manifest.json @@ -136,6 +136,7 @@ "proxy" : { "/pixelApi" : { "target" : "http://8.138.171.103/pixelApi", // 测试环境 + // "target" : "https://www.ylemai.cn/pixelApi",// 正式环境 "changeOrigin" : true, "secure" : true, @@ -146,20 +147,23 @@ }, "/upload" : { "target" : "http://8.138.171.103", // 测试环境 + + // "target" : "https://www.ylemai.cn",// 正式环境 + "changeOrigin" : true, + "secure" : true, + "ws" : false + }, + "/static" : { + "target" : "http://8.138.171.103", // 测试环境 + // "target" : "https://www.ylemai.cn",// 正式环境 "changeOrigin" : true, "secure" : true, "ws" : false }, - "/static" : { - "target" : "http://8.138.171.103", // 测试环境 - // "target" : "https://www.ylemai.cn",// 正式环境 - "changeOrigin" : true, - "secure" : true, - "ws" : false - }, "/aiupload" : { "target" : "http://8.138.171.103/upload", // 测试环境 + // "target" : "https://www.ylemai.cn/upload",// 正式环境 "changeOrigin" : true, "secure" : true, @@ -187,15 +191,15 @@ "^/otherOssUpload/" : "" } }, - "/anotherOssUpload" : { - "target" : "http://pixel-ai-file.oss-cn-guangzhou.aliyuncs.com", - "changeOrigin" : true, - "secure" : true, - "ws" : false, - "pathRewrite" : { - "^/anotherOssUpload/" : "" - } - }, + "/anotherOssUpload" : { + "target" : "http://pixel-ai-file.oss-cn-guangzhou.aliyuncs.com", + "changeOrigin" : true, + "secure" : true, + "ws" : false, + "pathRewrite" : { + "^/anotherOssUpload/" : "" + } + }, "/asyncOssUpload" : { "target" : "https://dashscope-result-bj.oss-cn-beijing.aliyuncs.com", "changeOrigin" : true, diff --git a/pages/mobile_web/my/child_pages/login.vue b/pages/mobile_web/my/child_pages/login.vue index 2e91de8..9412aa6 100644 --- a/pages/mobile_web/my/child_pages/login.vue +++ b/pages/mobile_web/my/child_pages/login.vue @@ -75,6 +75,11 @@