Commit 9323e1bd by 陶光胜

cmyk模式校验

parent b985d5b3
......@@ -58,7 +58,6 @@ public class UploadImgController {
return RestResponse.failure(ErrorCode.NOT_SUPPORT.getCode(), "图片不支持上传CMYK色彩模式,请上传RGB色彩模式的图片");
}
UploadResult uploadResult = QqCloudPicUtils.uploadLocalPicStream("pic01", "", mf.getBytes());
UploadResult uploadResult = QqCloudPicUtils.uploadLocalPicStream("pic01", "", mf.getBytes());
logger.info("上传图片结果:"+JSON.toJSONString(uploadResult));
Map<String, Object> pic = new HashMap<>(8);
pic.put("fileId", uploadResult.getFileId());
......
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