Commit 5a8c58d0 by 徐高华

异常提示

parent bd38b02f
...@@ -347,9 +347,11 @@ public class HmLinkApiServiceImpl implements HmLinkApiService { ...@@ -347,9 +347,11 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
ServiceResponse<String> addResp = this.addQrcode(hm, dthmKey, wxEnterpriseDTO.getCorpid(), retDTO); ServiceResponse<String> addResp = this.addQrcode(hm, dthmKey, wxEnterpriseDTO.getCorpid(), retDTO);
if (!addResp.isSuccess()) { if (!addResp.isSuccess()) {
retDTO.setSm("创建动态活码失败,取单人活码"); retDTO.setSm("创建动态活码失败,取单人活码");
if(StringUtils.isBlank(hm.getWxQrcode())) {
return ServiceResponse.failure(HaoBanErrCode.ERR_OTHER.getCode(), "导购活码不存在");
}
retDTO.setHmQrcode(hm.getWxQrcode()); retDTO.setHmQrcode(hm.getWxQrcode());
} else { } else {
// retDTO.setSm("动态活码");
retDTO.setHmQrcode(addResp.getResult()); retDTO.setHmQrcode(addResp.getResult());
} }
} }
......
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