Browse Source

接口更改

Antiloveg 9 years ago
parent
commit
254ee5bef8

+ 1 - 1
src/main/java/com/goafanti/common/controller/PublicController.java

@@ -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;
 		}