Commit d328ce03 authored by 赵啸非's avatar 赵啸非

添加服务追踪

parent b663562e
...@@ -98,7 +98,7 @@ public class SyncRegisterUserTaskImpl implements ITaskExcuteService { ...@@ -98,7 +98,7 @@ public class SyncRegisterUserTaskImpl implements ITaskExcuteService {
personEntity.setId(personServiceExtCache.getCreateUserId()); personEntity.setId(personServiceExtCache.getCreateUserId());
personEntity.setSourcePhotoUri(user.getIdcardDataPhotoFileName()); personEntity.setSourcePhotoUri(user.getIdcardDataPhotoFileName());
//直接下载更新到本地 //直接下载更新到本地
String downUrl = url + personEntity.getSourcePhotoUri(); String downUrl = host+"/"+personEntity.getSourcePhotoUri();
// String downUrl = "http://192.168.0.98:11078/file/fileupload/1679215657433.jpg"; // String downUrl = "http://192.168.0.98:11078/file/fileupload/1679215657433.jpg";
log.info("downUrl:{}", downUrl); log.info("downUrl:{}", downUrl);
byte[] bytes = HttpUtil.downloadBytes(downUrl); byte[] bytes = HttpUtil.downloadBytes(downUrl);
......
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