appId问题

This commit is contained in:
wujj 2020-02-13 18:15:03 +08:00
parent 6e5bdba347
commit 92a99a4442
2 changed files with 2 additions and 1 deletions

View File

@ -99,6 +99,7 @@ public class CategoryAction extends BaseAction{
BaseEntity categoryEntity = categoryBiz.getEntity(Integer.parseInt(category.getId())); BaseEntity categoryEntity = categoryBiz.getEntity(Integer.parseInt(category.getId()));
model.addAttribute("categoryEntity",categoryEntity); model.addAttribute("categoryEntity",categoryEntity);
} }
model.addAttribute("appId",BasicUtil.getAppId());
return "/cms/category/form"; return "/cms/category/form";
} }

View File

@ -200,7 +200,7 @@
:limit="1" :limit="1"
:on-exceed="categoryImghandleExceed" :on-exceed="categoryImghandleExceed"
:disabled="false" :disabled="false"
:data="{uploadPath:'/cms/category','isRename':true,'appId':true}" :data="{uploadPath:'/${appId}/cms/category','isRename':true}"
:on-success="categoryImgSuccess" :on-success="categoryImgSuccess"
accept="image/*" accept="image/*"
list-type="picture-card"> list-type="picture-card">