Commit 1200830e by 王祖波

Merge branch 'feature-2025-cms' into 'master'

企业参数异常兼容

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