|
@@ -302,6 +302,8 @@ public class OrgController extends ControllerSupport{
|
|
|
filePath = schoolLogoPath + "/" + id + ".jpg";
|
|
|
} else if (name.endsWith(".gif")) {
|
|
|
filePath = schoolLogoPath + "/" + id + ".gif";
|
|
|
+ } else if (name.endsWith(".png")) {
|
|
|
+ filePath = schoolLogoPath + "/" + id + ".png";
|
|
|
} else {
|
|
|
throw new StatusException("B-101001", "文件格式错误");
|
|
|
}
|