From 3f9b83e41976957f87284b1f6ddf0ba2c250568f Mon Sep 17 00:00:00 2001 From: ch Date: Fri, 27 May 2022 18:25:46 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/env.config.js b/env.config.js index c29c073..7b95a38 100644 --- a/env.config.js +++ b/env.config.js @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-05-05 14:40:00 * @LastEditors: ch - * @LastEditTime: 2022-05-27 10:47:18 + * @LastEditTime: 2022-05-27 18:25:28 * @Description: 根据git分支生成对应环境的环境变量 * 开发时如果环境变量换了,可以不用重启服务,直接运行node env.config.js即可 */ @@ -21,11 +21,11 @@ const envConfig = { }, beta : { base_url: 'https://you-gateway.mashibing.com', - imUrl : 'wss://you-gateway.mashibing.cn' + imUrl : 'wss://you-gateway.mashibing.com' }, prod : { base_url: 'https://you-gateway.mashibing.com', - imUrl : 'wss://you-gateway.mashibing.cn' + imUrl : 'wss://you-gateway.mashibing.com' } } const branch = getRepoInfo().branch; // 调用获取git信息 From 295537b06cbd6d58d561d1b7c89f545163f640b2 Mon Sep 17 00:00:00 2001 From: ch Date: Tue, 31 May 2022 18:45:26 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=B9=BF=E5=91=8A=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 17 ++++++-- pages/index/module/Banner.vue | 77 ++++++++++------------------------- plugins/api/ad.js | 19 +++++++++ plugins/dicts/ad.js | 42 +++++++++++++++++++ 4 files changed, 97 insertions(+), 58 deletions(-) create mode 100644 plugins/api/ad.js create mode 100644 plugins/dicts/ad.js diff --git a/pages/index/index.vue b/pages/index/index.vue index 1a17c6e..15ef7d5 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -2,12 +2,12 @@ * @Author: ch * @Date: 2022-05-03 22:14:16 * @LastEditors: ch - * @LastEditTime: 2022-05-04 22:21:04 + * @LastEditTime: 2022-05-31 18:41:33 * @Description: file content -->