From 28de491740c5970776e712643b611c9c0246b649 Mon Sep 17 00:00:00 2001 From: kola-web Date: Thu, 12 Mar 2026 18:34:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=AD=A3=E5=BC=8F=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.ts | 10 +++++----- src/utils/page.ts | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app.ts b/src/app.ts index c426558..e2f9d35 100644 --- a/src/app.ts +++ b/src/app.ts @@ -29,12 +29,12 @@ App({ imageUrl: 'https://app.yd.hbraas.com/images/', // pro - // appid:wxfc95e2961d481f58 - // url: 'https://app.yd.hbsaas.com', - // upFileUrl: 'https://app.yd.hbsaas.com/', - // imageUrl: 'https://app.yd.hbsaas.com/images/', + // appid:wxaefa7c119758a692 + // url: 'https://app.hghealth.hbsaas.com', + // upFileUrl: 'https://app.hghealth.hbsaas.com/', + // imageUrl: 'https://app.hghealth.hbsaas.com/images/', - Timestamp: new Date().getTime(), + Timestamp: dayjs().valueOf(), waitBindDoctorId: '', scene: {}, diff --git a/src/utils/page.ts b/src/utils/page.ts index cbf0351..ab2ef79 100644 --- a/src/utils/page.ts +++ b/src/utils/page.ts @@ -4,6 +4,8 @@ * 2、app.js onLaunch 的时候 Page = page */ +import dayjs from 'dayjs' + const originalPage = Page const noSharePath = [ @@ -44,8 +46,7 @@ function page(config: WechatMiniprogram.Page.Instance, ) { - const date = new Date() - const Timestamp = date.getTime() + const Timestamp = dayjs().valueOf() currPage.setData({ imageUrl: getApp().globalData.imageUrl, Timestamp,