Commit 27eb9146 by 徐高华

返回微信corpid

parent 09a6f1d0
......@@ -12,7 +12,8 @@ public class WxEnterpriseDTO implements Serializable {
private String wxEnterpriseId;
private String permanentCode;
// 业务中请不要使用此属性
private String corpid ;
private String corpName;
private String corpType;
......@@ -108,6 +109,14 @@ public class WxEnterpriseDTO implements Serializable {
private Integer wxSecurityType ;
private String wxCorpid ;
private String openCorpid ;
public String getCorpid() {
return corpid;
}
public void setCorpid(String corpid) {
this.corpid = corpid;
}
public Integer getWxSecurityType() {
return wxSecurityType;
......
......@@ -175,7 +175,9 @@ public class WxEnterpriseController extends WebBaseController {
if (contactFlag == 0) {
wxDTO.setContactFlag(1);
}
String corpid = Arrays.asList(wxDTO.getWxCorpid(),wxDTO.getOpenCorpid()).stream().filter(str -> StringUtils.isNotBlank(str)).collect(Collectors.joining("/")) ;
wxEnterpriseApiService.update(wxDTO);
wxDTO.setCorpid(corpid);
return resultResponse(HaoBanErrCode.ERR_1, wxEnterpriseDTO);
}
......
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