Commit c989f6bc by 王祖波

企业参数异常兼容

parent 63738479
......@@ -93,6 +93,9 @@ public class ContentImageController {
return RestResponse.failure("-1", "必传参数不能为空");
}
EnterpriseDTO enterpriseDTO = enterpriseService.getEnterpriseById(enterpriseId);
if (enterpriseDTO == null) {
return RestResponse.failure("-1", "企业不存在");
}
File file = null;
try {
MultipartHttpServletRequest multiRequest = (MultipartHttpServletRequest) request;
......
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