提交 aa9432d5 编写于 作者: tao.jin's avatar tao.jin

注册推送tag消息

上级 6e87e702
流水线 #39550 已取消 于阶段
...@@ -21,6 +21,7 @@ import com.pica.cloud.account.account.server.util.*; ...@@ -21,6 +21,7 @@ import com.pica.cloud.account.account.server.util.*;
import com.pica.cloud.foundation.completeness.client.utils.IntactUtils; import com.pica.cloud.foundation.completeness.client.utils.IntactUtils;
import com.pica.cloud.foundation.encryption.common.constants.EncryptConstants; import com.pica.cloud.foundation.encryption.common.constants.EncryptConstants;
import com.pica.cloud.foundation.encryption.util.EncryptUtils; import com.pica.cloud.foundation.encryption.util.EncryptUtils;
import com.pica.cloud.foundation.entity.PicaResponse;
import com.pica.cloud.foundation.redis.ICacheClient; import com.pica.cloud.foundation.redis.ICacheClient;
import com.pica.cloud.foundation.utils.utils.RequestUtils; import com.pica.cloud.foundation.utils.utils.RequestUtils;
import com.pica.cloud.foundation.utils.utils.StringUtil; import com.pica.cloud.foundation.utils.utils.StringUtil;
...@@ -190,9 +191,12 @@ public class RegisterServiceImpl implements RegisterService { ...@@ -190,9 +191,12 @@ public class RegisterServiceImpl implements RegisterService {
redisClient.del(nxKey); redisClient.del(nxKey);
intactUtil.sendIntact(batchNo,"register",com.pica.cloud.foundation.completeness.contract.constants.CommonConstants.INTACT_CONTENT_LOG_STATUS_3,"baseRequest:"+ JSON.toJSONString(baseRequest)+",queryMobileEntity:"+JSON.toJSONString(queryMobileEntity)); intactUtil.sendIntact(batchNo,"register",com.pica.cloud.foundation.completeness.contract.constants.CommonConstants.INTACT_CONTENT_LOG_STATUS_3,"baseRequest:"+ JSON.toJSONString(baseRequest)+",queryMobileEntity:"+JSON.toJSONString(queryMobileEntity));
transportDoctorClient.updateDoctorProfilesById( logger.info("@@@update doctor tag: {}", userId);
PicaResponse<Integer> updateDoctorProfilesResp = transportDoctorClient.updateDoctorProfilesById(
userId.intValue(), Lists.newArrayList(new StickerProfileDto(Integer.valueOf(stickerId), "1")), null); userId.intValue(), Lists.newArrayList(new StickerProfileDto(Integer.valueOf(stickerId), "1")), null);
if (updateDoctorProfilesResp.getData() != null && updateDoctorProfilesResp.getData().equals(0)) {
logger.error("update doctor tag failed");
}
return result; return result;
} else { } else {
logger.info("register-account is exists"); logger.info("register-account is exists");
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册