From b2d360d9113b6955287108ca9e90d76a1f3c1419 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期日, 29 九月 2024 15:05:11 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia

---
 server/service/src/main/java/com/doumee/core/utils/Constants.java |   30 +++++++++++++++++++-----------
 1 files changed, 19 insertions(+), 11 deletions(-)

diff --git a/server/service/src/main/java/com/doumee/core/utils/Constants.java b/server/service/src/main/java/com/doumee/core/utils/Constants.java
index c58b046..5c23d53 100644
--- a/server/service/src/main/java/com/doumee/core/utils/Constants.java
+++ b/server/service/src/main/java/com/doumee/core/utils/Constants.java
@@ -339,6 +339,7 @@
     public static final String SHARES_FILE = "SHARES_FILE";
     public static final String NEWS_FILE = "NEWS_FILE";
     public static final String USER_LABEL = "USER_LABEL";
+    public static final String USERS_MANAGE_CODE = "USERS_MANAGE_CODE";
     //鍙戦�佷細璁紑濮�  瀹氭椂鎻愬墠澶氬皯鍒嗛挓鍙戦��
 
     public static final String SYSTEM ="SYSTEM";
@@ -378,6 +379,12 @@
     public static final String WX_TOKEN_CUSTOMER = "WX_TOKEN_CUSTOMER";
     public static final String WX_TOKEN_PERSONNEL = "WX_TOKEN_PERSONNEL";
     public static final String ZBOM_CRM_POSTCUS_API_KEY  = "ZBOM_CRM_POSTCUS_API_KEY";
+    public static final String ZBOM_CRM_API_URL_MP = "ZBOM_CRM_API_URL_MP";
+    public static final String ZBOM_CRM_API_URL_MP_ADDINTENTION = "ZBOM_CRM_API_URL_MP_ADDINTENTION";
+    public static final String ZBOM_CRM_API_URL_PRIVATE_KEY = "ZBOM_CRM_API_URL_PRIVATE_KEY";
+    public static final String ZBOM_CRM_API_URL_INIT_VECTOR = "ZBOM_CRM_API_URL_INIT_VECTOR";
+    public static final String ZBOM_IAM_CUSTOMER_APPID = "ZBOM_IAM_CUSTOMER_APPID";
+    public static final String ZBOM_IAM_BUSINESS_APPID = "ZBOM_IAM_BUSINESS_APPID";
 
 
     public interface RedisKeys {
@@ -494,15 +501,15 @@
         StringBuffer stringBuffer = new StringBuffer();
         for (int i = 0; i < arr.length; i++) {
             if(i==0){
-                stringBuffer.append( i + "瀹�");
+                stringBuffer.append( arr[i] + "瀹�");
             }else if(i==1){
-                stringBuffer.append( i + "鍘�");
+                stringBuffer.append( arr[i] + "鍘�");
             }else if(i==2){
-                stringBuffer.append( i + "鍘�");
+                stringBuffer.append( arr[i] + "鍘�");
             }else if(i==3){
-                stringBuffer.append( i + "鍗�");
+                stringBuffer.append( arr[i] + "鍗�");
             }else if(i==4){
-                stringBuffer.append( i + "闃�");
+                stringBuffer.append( arr[i] + "闃�");
             }else {
                 break;
             }
@@ -530,7 +537,10 @@
     }
 
     public static String desensitizationPhone(String phone)  {
-        return phone.replaceAll("(d{3})d{4}(d{4})", "$1****$2");
+        if (phone == null || phone.length() != 11) {
+            return phone;
+        }
+        return phone.substring(0, 3) + "****" + phone.substring(7);
     }
 
 
@@ -679,11 +689,9 @@
         // 鍦烘櫙鐮侊紝涓庡墠绔害瀹氾紝鏈�缁堟槸闇�瑕佸墠绔В鏋�
         body.put("scene", scene);
         // 姝e紡鐗堜负 "release"锛屼綋楠岀増涓� "trial"锛屽紑鍙戠増涓� "develop"銆傞粯璁ゆ槸姝e紡鐗堛��
-        String env_version = "trial";
+        String env_version = "release";
         body.put("env_version", env_version);
-        if(env_version.equals("release")&&StringUtils.isNotBlank(page)){
-            body.put("page", page);
-        }
+//        body.put("page", "pages/index/index");
         // 閫忔槑锛屾牴鎹綘鐨勫満鏅嚜琛岃缃産ody鍙傛暟
         body.put("is_hyaline", true);
         OkHttpClient client = new OkHttpClient().newBuilder().build();
@@ -695,7 +703,7 @@
             Response response = client.newCall(request).execute();
             if (response.isSuccessful()) {
                 InputStream inputStream = new ByteArrayInputStream(response.body().bytes());
-               /*ByteArrayOutputStream baos = new ByteArrayOutputStream();
+              /* ByteArrayOutputStream baos = new ByteArrayOutputStream();
                     byte[] buffer = new byte[1024];
                     int len = -1;
                     while ((len = inputStream.read(buffer)) != -1) {

--
Gitblit v1.9.3