|
|
@@ -172,7 +172,7 @@ public class PublicController extends BaseController {
|
|
|
@RequestMapping(value = "/downLoadPicture", method = RequestMethod.GET)
|
|
|
public Result downLoadPicture(HttpServletResponse response, String path, HttpServletRequest request){
|
|
|
Result res = new Result();
|
|
|
- if(path == "" || path == null){
|
|
|
+ if (path == "" || path == null){
|
|
|
res.getError().add(buildError(ErrorConstants.FILE_NON_EXISTENT, "下载文件不存在!"));
|
|
|
return res;
|
|
|
}
|