|
@@ -0,0 +1,33 @@
|
|
|
+package com.usky.iot.constant;
|
|
|
+
|
|
|
+public class constant {
|
|
|
+
|
|
|
+ public static final String WE_CHAT_APP_ID = "wx24286e0c45f8da1c";
|
|
|
+
|
|
|
+ public static final String WE_CHAT_SECRET = "d605d3efaaad559a8e6a327870b48ce8";
|
|
|
+
|
|
|
+ public static final String WE_CHAT_ACCESS_TOKEN = "**********";
|
|
|
+
|
|
|
+ public static final String WE_CHAT_CODE_URL = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=%s&redirect_uri=%s&response_type=code&scope=%s&state=STATE#wechat_redirect";
|
|
|
+
|
|
|
+ public static final String WE_CHAT_CALL_BACK_DOMAIN_URL = "http://localhost:9887/weChat/getWeChatOpenId";
|
|
|
+
|
|
|
+ public static final String call_back_domain = "manager.usky.cn";
|
|
|
+
|
|
|
+ public static final String WE_CHAT_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s";
|
|
|
+
|
|
|
+ public static final String WE_CHAT_REQUEST_URL = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=%s";
|
|
|
+
|
|
|
+ public static final String WE_CHAT_TEMPLATE_ID = "FmrNuMzgh0E8bWg1j8a2R3zTmRarHYtZ72TSzPrF9Iw";
|
|
|
+
|
|
|
+ public static final String WE_CHAT_CUSTOMER_CALL_URL = "http://manager.usky.cn/mobile/#/pages/common/textview/index?id=%s";
|
|
|
+
|
|
|
+ public static final String WE_CHAT_TOP_COLOR = "#A349A4";
|
|
|
+
|
|
|
+ public static final String WE_CHAT_AUTHORIZATION_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code";
|
|
|
+
|
|
|
+ public static final String WE_CHAT_LOGIN = "/mobile/#/pages/login";
|
|
|
+
|
|
|
+ public static final String WE_CHAT_INDEX = "/mobile/#/pages/index";
|
|
|
+
|
|
|
+}
|