From caebed7c7896ff5caac8a7eed748cedf9a0ca15c Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Tue, 6 Jun 2023 18:54:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 6 +++--- page/begin/begin.js | 4 ++-- page/constitutionGrade/constitutionGrade.js | 2 +- page/record/record.js | 2 +- page/shetai/shetai.js | 2 +- page/shetai/shetai.wxml | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app.js b/app.js index 78e75d8..c265583 100644 --- a/app.js +++ b/app.js @@ -3,8 +3,8 @@ App({ //请不要修改 /addons/cms/wxapp.这部分,只允许修改域名部分 //请注意小程序只支持https //apiUrl: 'https://demo.fastadmin.net/addons/cms/wxapp.', - apiUrl: 'https://mini.nanjingchuangyou.com/addons/cms/wxapp.', - apiCommonUrl: 'https://mini.nanjingchuangyou.com/', + apiUrl: 'https://tzcs.njrenzhou.cn/addons/cms/wxapp.', + apiCommonUrl: 'https://tzcs.njrenzhou.cn/', si: 0, //小程序启动 onLaunch: function() { @@ -387,6 +387,6 @@ App({ indexTabList: [], newsTabList: [], productTabList: [], - apiCommonUrl:'https://mini.nanjingchuangyou.com/' + apiCommonUrl:'https://tzcs.njrenzhou.cn/' } }) \ No newline at end of file diff --git a/page/begin/begin.js b/page/begin/begin.js index 977043d..d2b90c7 100644 --- a/page/begin/begin.js +++ b/page/begin/begin.js @@ -9,7 +9,7 @@ Page({ */ data: { total:0, - apiUrl: 'https://mini.nanjingchuangyou.com/addons/cms/wxapp.', + apiUrl: 'https://tzcs.njrenzhou.cn/addons/cms/wxapp.', }, /** @@ -251,6 +251,6 @@ Page({ indexTabList: [], newsTabList: [], productTabList: [], - apiCommonUrl:'https://mini.nanjingchuangyou.com/' + apiCommonUrl:'https://tzcs.njrenzhou.cn/' } }) \ No newline at end of file diff --git a/page/constitutionGrade/constitutionGrade.js b/page/constitutionGrade/constitutionGrade.js index c81610e..3ae560b 100644 --- a/page/constitutionGrade/constitutionGrade.js +++ b/page/constitutionGrade/constitutionGrade.js @@ -57,7 +57,7 @@ Page({ }, addHandle(){ wx.request({ - url: 'https://mini.nanjingchuangyou.com/api/mini/viewUser', + url: 'https://tzcs.njrenzhou.cn/api/mini/viewUser', method:'POST', header: { 'content-type': 'application/x-www-form-urlencoded', diff --git a/page/record/record.js b/page/record/record.js index 0bf2a77..869e93a 100644 --- a/page/record/record.js +++ b/page/record/record.js @@ -69,7 +69,7 @@ Page({ }, getdata(){ wx.request({ - url: 'https://mini.nanjingchuangyou.com/api/mini/viewList', + url: 'https://tzcs.njrenzhou.cn/api/mini/viewList', method:'POST', header: { 'content-type': 'application/x-www-form-urlencoded', diff --git a/page/shetai/shetai.js b/page/shetai/shetai.js index c17f68e..009490f 100644 --- a/page/shetai/shetai.js +++ b/page/shetai/shetai.js @@ -19,7 +19,7 @@ Page({ let filePath = res.tempFilePaths[0] wx.uploadFile({ filePath: filePath, - url: 'https://mini.nanjingchuangyou.com/api/common/upload', + url: 'https://tzcs.njrenzhou.cn/api/common/upload', name: 'file', timeout:5000, formData:{ diff --git a/page/shetai/shetai.wxml b/page/shetai/shetai.wxml index f32d501..6955acf 100644 --- a/page/shetai/shetai.wxml +++ b/page/shetai/shetai.wxml @@ -6,7 +6,7 @@ - + 上传照片