diff --git a/nxhs-service/src/main/java/cc/yunxi/domain/vo/client/ClientUpdateVO.java b/nxhs-service/src/main/java/cc/yunxi/domain/vo/client/ClientUpdateVO.java index e8be170..a1b8039 100644 --- a/nxhs-service/src/main/java/cc/yunxi/domain/vo/client/ClientUpdateVO.java +++ b/nxhs-service/src/main/java/cc/yunxi/domain/vo/client/ClientUpdateVO.java @@ -27,10 +27,7 @@ public class ClientUpdateVO { @ApiModelProperty(value = "昵称", required = false, example = "大马猴") private String nickName; - @ApiModelProperty(value = "手机", required = false, example = "13523212215") - private String mobilePhone; - - @ApiModelProperty(value = "手机", required = false, example = "[{\"name\":\"sunlogin.jpg\",\"url\":\"/api/file/Image/annexpic/65baf8acb2048f25a2c16a1c.jpg\",\"fileId\":\"65baf8acb2048f25a2c16a1c.jpg\"}]") + @ApiModelProperty(value = "手机", required = false, example = "[{\"name\":\"sunlogin.jpg\",\"url\":\"upload/image/445083e778779767dd8ac22eede077ec.png\",\"fileId\":\"65baf8acb2048f25a2c16a1c.jpg\"}]") private String headIcon; @ApiModelProperty(value = "性别", required = false, example = "1") diff --git a/nxhs-service/src/main/java/cc/yunxi/service/impl/FileServiceImpl.java b/nxhs-service/src/main/java/cc/yunxi/service/impl/FileServiceImpl.java index d756883..02a3d45 100644 --- a/nxhs-service/src/main/java/cc/yunxi/service/impl/FileServiceImpl.java +++ b/nxhs-service/src/main/java/cc/yunxi/service/impl/FileServiceImpl.java @@ -117,7 +117,8 @@ public class FileServiceImpl implements IFileService { FileUploadRespVO uploadRespVO = new FileUploadRespVO(); uploadRespVO.setName(originalName); uploadRespVO.setField(fileName); - uploadRespVO.setUrl(getUrl(URI)); +// uploadRespVO.setUrl(getUrl(URI)); + uploadRespVO.setUrl(URI); return uploadRespVO; // 入库操作 todo } catch (IOException exception) {