From da25d3933593f6547775911ee302d4b331316aca Mon Sep 17 00:00:00 2001 From: kola-web Date: Wed, 13 Aug 2025 17:49:55 +0800 Subject: [PATCH] =?UTF-8?q?1.3bug=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project.config.json | 2 +- src/app.ts | 12 ++++++------ src/pages/home/index.ts | 1 + src/pages/information/index.ts | 1 + 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/project.config.json b/project.config.json index 4a3111e..5634447 100644 --- a/project.config.json +++ b/project.config.json @@ -71,5 +71,5 @@ } ] }, - "appid": "wxf9ce8010f1ad24aa" + "appid": "wx71ac9c27c3c3e3f4" } \ No newline at end of file diff --git a/src/app.ts b/src/app.ts index 0526c95..f293c9d 100644 --- a/src/app.ts +++ b/src/app.ts @@ -16,15 +16,15 @@ App({ // 测试号 wx2b0bb13edf717c1d // dev // appid:wxf9ce8010f1ad24aa - url: 'https://m.xd.hbraas.com', - upFileUrl: 'https://m.xd.hbraas.com/', - imageUrl: 'https://m.xd.hbraas.com/xd/', + // url: 'https://m.xd.hbraas.com', + // upFileUrl: 'https://m.xd.hbraas.com/', + // imageUrl: 'https://m.xd.hbraas.com/xd/', // pro // appid:wx71ac9c27c3c3e3f4 - // url: 'https://m.xd.hbsaas.com', - // upFileUrl: 'https://m.xd.hbsaas.com/', - // imageUrl: 'https://m.xd.hbsaas.com/api/xd/', + url: 'https://m.xd.hbsaas.com', + upFileUrl: 'https://m.xd.hbsaas.com/', + imageUrl: 'https://m.xd.hbsaas.com/api/xd/', loginState: '', isLogin: 0, diff --git a/src/pages/home/index.ts b/src/pages/home/index.ts index 3bf9056..99bb6b2 100644 --- a/src/pages/home/index.ts +++ b/src/pages/home/index.ts @@ -234,6 +234,7 @@ Page({ const { id, index } = e.currentTarget.dataset; const params = this.data.list[index]; if (params.ContentType === '5' && params.FileList[0]) { + app.mpBehavior({ PositionId: '1', OperateType: '1', OperateId: id as string }); this.handleFile(params.FileList[0]); } else { wx.navigateTo({ diff --git a/src/pages/information/index.ts b/src/pages/information/index.ts index 59c8a22..ec3b305 100644 --- a/src/pages/information/index.ts +++ b/src/pages/information/index.ts @@ -60,6 +60,7 @@ Page({ const { id, index } = e.currentTarget.dataset; const params = this.data.list[index]; if (params.ContentType === '5' && params.FileList[0]) { + app.mpBehavior({ PositionId: '1', OperateType: '1', OperateId: id as string }); this.handleFile(params.FileList[0]); } else { wx.navigateTo({