Parcourir la source

上传图片权限修改

anderx il y a 7 ans
Parent
commit
217a6daea6

+ 1 - 1
src/main/java/com/goafanti/banners/controller/AdminBannersApiController.java

@@ -158,7 +158,7 @@ public class AdminBannersApiController extends BaseApiController {
         Result res = new Result();
         AttachmentType attachmentType = AttachmentType.getField(sign);
         if (attachmentType == AttachmentType.BANNERS_PIC) {
-            res.setData(handleFiles(res, "/banners/", false, req, sign, "banners"));
+            res.setData(handleFiles(res, "", false, req, sign, "/banners"));
         } else {
             res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "图片标示"));
         }