Commit 555aef3f by 徐高华

自建

parent 4f29e193
...@@ -109,6 +109,15 @@ public class WxEnterpriseDTO implements Serializable { ...@@ -109,6 +109,15 @@ public class WxEnterpriseDTO implements Serializable {
private String wxCorpid ; private String wxCorpid ;
private String openCorpid ; private String openCorpid ;
private String wxaAppid ; private String wxaAppid ;
private String urlHost ;
public String getUrlHost() {
return urlHost;
}
public void setUrlHost(String urlHost) {
this.urlHost = urlHost;
}
public String getWxaAppid() { public String getWxaAppid() {
return wxaAppid; return wxaAppid;
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
select select
<include refid="Base_Column_List"/> <include refid="Base_Column_List"/>
from tab_haoban_wx_enterprise from tab_haoban_wx_enterprise
where wxa_appid = #{appid} and wx_security_type = 5 where wxa_appid = #{appid} and wx_security_type = 5 and status_flag = 1
</select> </select>
<insert id="insertSelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise"> <insert id="insertSelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise">
......
...@@ -209,7 +209,7 @@ public class WxEnterpriseController extends WebBaseController { ...@@ -209,7 +209,7 @@ public class WxEnterpriseController extends WebBaseController {
desc = "(第三方明文,代开密文)" ; desc = "(第三方明文,代开密文)" ;
} }
if(wxType==5) { if(wxType==5) {
desc = " (自建) " ; desc = " (自建 "+wxEnterpriseDTO.getWxaAppid() +"/" + wxEnterpriseDTO.getUrlHost()+") " ;
} }
int newType = this.wxEnterpriseApiService.calcSecretType(wxEnterpriseId) ; int newType = this.wxEnterpriseApiService.calcSecretType(wxEnterpriseId) ;
String diff = ""; String diff = "";
......
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