From 9e73d21565a024c247e2935bc39768aca4b2c30c Mon Sep 17 00:00:00 2001 From: gognqingkai <1825346742@qq.com> Date: Tue, 16 Apr 2024 15:37:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E8=AE=AF=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E8=B5=84=E8=AE=AF=E4=BF=A1=E6=81=AF=E5=92=8C=E8=B5=84=E8=AE=AF?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E5=AE=9E=E7=8E=B0=20add=20by=20gqk=202024/04?= =?UTF-8?q?/16=2015:29?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/xinelu/common/constant/Constants.java | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/postdischarge-common/src/main/java/com/xinelu/common/constant/Constants.java b/postdischarge-common/src/main/java/com/xinelu/common/constant/Constants.java index 9ae03f9a..0102e27c 100644 --- a/postdischarge-common/src/main/java/com/xinelu/common/constant/Constants.java +++ b/postdischarge-common/src/main/java/com/xinelu/common/constant/Constants.java @@ -283,4 +283,34 @@ public class Constants { * 成功 */ public static final int SUCCESS_ERROR_CODE = 0; + + /** + * 院后微信小程序登录接口地址 + */ + public static final String APPLET_LOGIN_URL = "https://api.weixin.qq.com/sns/jscode2session"; + + /** + * 微信小程序ACCESS_TOKEN前缀 + */ + public static final String POST_DISCHARGE_APPLET_ACCESS_TOKEN = "POST_Discharge_APPLET_ACCESS_TOKEN_"; + + /** + * 返回成功状态码 + */ + public static final int SUCCESS_CODE = 0; + + /** + * 院后微信小程序获取用户手机号接口地址 + */ + public static final String PHONE_NUMBER_URL = "https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token="; + + /** + * 获取微信小程序access_token错误码 + */ + public static final int ERROR_ACCESS_CODE = 40001; + + /** + * 返回成功状态码 + */ + public static final String OK = "ok"; }