Commit 8b07930b by fanjiaxin

推客短信发送调试

parent fffb8ad9
Pipeline #75542 passed with stages
in 1 minute 4 seconds
......@@ -6,6 +6,7 @@
*/
package com.netease.yanxuan.wx.store.sharer.integration.client.impl;
import com.alibaba.fastjson.JSON;
import com.netease.yanxuan.missa.specs.interfaces.response.MissaResponse;
import com.netease.yanxuan.wx.store.sharer.integration.client.IUserInfoClient;
import com.netease.yanxuan.wx.store.sharer.integration.facade.UserInfoFacade;
......@@ -23,15 +24,16 @@ public class UserInfoClientImpl implements IUserInfoClient {
@Override
public Boolean verifyByIdentityNo(String realName, String identityNo) {
log.info("[op:verifyByIdentityNo] realName:{}, identityNo:{}", realName, identityNo);
log.info("[op:UserInfoClientImpl:verifyByIdentityNo] realName:{}, identityNo:{}", realName, identityNo);
try {
UserInfoVerifyByIdentityNoBO bo = UserInfoVerifyByIdentityNoBO.builder().realName(realName).identityNo(identityNo).build();
MissaResponse<Boolean> missaResponse = userInfoFacade.verifyByIdentityNo(bo);
log.info("[op:UserInfoClientImpl:verifyByIdentityNo] missaResponse:{}", JSON.toJSONString(missaResponse));
if (null != missaResponse && missaResponse.isOK()) {
return missaResponse.getData();
}
} catch (Exception e) {
log.error("[op:verifyByIdentityNo] is exception", e);
log.error("[op:UserInfoClientImpl:verifyByIdentityNo] is error", e);
}
return false;
}
......
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