Commit 2444faab by 徐高华

log

parent e1ee8e7a
...@@ -4,7 +4,8 @@ package com.gic.haoban.manage.api.enums; ...@@ -4,7 +4,8 @@ package com.gic.haoban.manage.api.enums;
* Created by hua on 2020/6/3. * Created by hua on 2020/6/3.
*/ */
public enum SecretTypeEnum { public enum SecretTypeEnum {
CONTACT_CUSTOMER(1, "顾客联系"),
CONTACT_CUSTOMER(1, "顾客联系--自建"),
MEMBER_WAPP(4, "会员小程序"), MEMBER_WAPP(4, "会员小程序"),
CUSTOMIZED_APP(5, "自建代开发"), CUSTOMIZED_APP(5, "自建代开发"),
WEWORK_PAY(6, "企业支付"), WEWORK_PAY(6, "企业支付"),
......
...@@ -73,6 +73,7 @@ public class SecretSettingServiceImpl implements SecretSettingService { ...@@ -73,6 +73,7 @@ public class SecretSettingServiceImpl implements SecretSettingService {
return null; return null;
} }
WxEnterpriseQwDTO qwDTO = this.wxEnterpriseService.getQwInfo(wxEnterpriseId) ; WxEnterpriseQwDTO qwDTO = this.wxEnterpriseService.getQwInfo(wxEnterpriseId) ;
// 如果是纯自建,使用自建的token
if(qwDTO.getWxSecurityType()==5) { if(qwDTO.getWxSecurityType()==5) {
secretType = SecretTypeEnum.CONTACT_CUSTOMER.getVal() ; secretType = SecretTypeEnum.CONTACT_CUSTOMER.getVal() ;
} }
......
...@@ -205,6 +205,9 @@ public class WxEnterpriseController extends WebBaseController { ...@@ -205,6 +205,9 @@ public class WxEnterpriseController extends WebBaseController {
if(wxType==4) { if(wxType==4) {
desc = "(第三方明文,代开密文)" ; desc = "(第三方明文,代开密文)" ;
} }
if(wxType==5) {
desc = " (自建) " ;
}
int newType = this.wxEnterpriseApiService.calcSecretType(wxEnterpriseId) ; int newType = this.wxEnterpriseApiService.calcSecretType(wxEnterpriseId) ;
String diff = ""; String diff = "";
if(null != wxType && wxType.intValue() != newType) { if(null != wxType && wxType.intValue() != newType) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment