From 883c1986c6dcc25e060ad5bcd67a25458ed3be1c Mon Sep 17 00:00:00 2001 From: zhangye <654600784@qq.com> Date: Sat, 23 Apr 2022 13:43:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=B3=E8=AF=B7=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E4=B8=BA=E4=BA=8C=E7=BB=B4=E7=A0=81=E7=9A=84=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ccsens/ptos_tall/service/WxUserService.java | 2 +- .../main/java/com/ccsens/ptos_tall/util/PtOsConstant.java | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ptos_tall/src/main/java/com/ccsens/ptos_tall/service/WxUserService.java b/ptos_tall/src/main/java/com/ccsens/ptos_tall/service/WxUserService.java index a2cc783..af581b8 100644 --- a/ptos_tall/src/main/java/com/ccsens/ptos_tall/service/WxUserService.java +++ b/ptos_tall/src/main/java/com/ccsens/ptos_tall/service/WxUserService.java @@ -64,7 +64,7 @@ public class WxUserService implements IWxUserService { WxOfficial wxOfficial = wxOfficialDao.getByEquipmentId(equipmentId); if(ObjectUtil.isNotNull(wxOfficial)){ appId = wxOfficial.getAppId(); - secret = wxOfficial.getAppId(); + secret = wxOfficial.getSecret(); } } //如果appId和secret为空,使用默认的信息 diff --git a/ptos_tall/src/main/java/com/ccsens/ptos_tall/util/PtOsConstant.java b/ptos_tall/src/main/java/com/ccsens/ptos_tall/util/PtOsConstant.java index 81d0208..6ba5e11 100644 --- a/ptos_tall/src/main/java/com/ccsens/ptos_tall/util/PtOsConstant.java +++ b/ptos_tall/src/main/java/com/ccsens/ptos_tall/util/PtOsConstant.java @@ -25,7 +25,10 @@ public class PtOsConstant { public static final String DEFAULT_APP_ID = "wxb3be21dcd7912555"; /**默认公众号secret*/ public static final String DEFAULT_SECRET = "9213776254878a8065f1a29d1f58a02c"; - +// /**默认公众号appId*/ +// public static final String DEFAULT_APP_ID = "wx7af1bf1e14facf82"; +// /**默认公众号secret*/ +// public static final String DEFAULT_SECRET = "a6613fae11b497639c0224b820aaf6d9"; /**图片类型*/ public static final String FILE_TYPE_IMG = "bmp,jpg,jpeg,png,tif,gif,pcx,tga,exif,fpx,svg,psd,cdr,pcd,dxf,ufo,eps,ai,raw,WMF,webp"; /**文档类型*/