Commit 7c774074 by 徐高华

企微托管

parent 6618e1e8
......@@ -55,15 +55,12 @@ public class QywxOpenController {
qdto.setStaffId(staffId);
qdto.setWxEnterpriseId(wxEnterpriseId);
qdto.setEnterpriseId(enterpriseId);
ServiceResponse<Long> codeResp = this.openStaffApiService.init(qdto) ;
ServiceResponse<OpenStaffDTO> codeResp = this.openStaffApiService.init(qdto) ;
if(null == codeResp.getResult()) {
return RestResponse.failure("9999",codeResp.getMessage());
}
ServiceResponse<OpenStaffDTO> staffResp =this.openStaffApiService.getById(codeResp.getResult()) ;
if(null == staffResp.getResult()) {
return RestResponse.failure("9999",staffResp.getMessage());
}
vo.setQrcode(staffResp.getResult().getQrCode1());
vo.setQrcode(codeResp.getResult().getQrCode1());
vo.setQrcodeData(codeResp.getResult().getQrcodeData());
}
}
WxEnterpriseDTO en = this.wxEnterpriseApiService.getOne(wxEnterpriseId) ;
......
......@@ -27,6 +27,19 @@ public class OpenStaffVO implements Serializable {
*/
private String qrcode ;
/**
* base64
*/
private String qrcodeData ;
public String getQrcodeData() {
return qrcodeData;
}
public void setQrcodeData(String qrcodeData) {
this.qrcodeData = qrcodeData;
}
public String getStaffName() {
return staffName;
}
......
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