Bladeren bron

上传图片权限修改

anderx 7 jaren geleden
bovenliggende
commit
217a6daea6
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/main/java/com/goafanti/banners/controller/AdminBannersApiController.java

+ 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, "", "图片标示"));
         }