Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
92a99a44
Commit
92a99a44
authored
Feb 13, 2020
by
wujj
Browse files
appId问题
parent
6e5bdba3
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/net/mingsoft/cms/action/CategoryAction.java
View file @
92a99a44
...
...
@@ -99,6 +99,7 @@ public class CategoryAction extends BaseAction{
BaseEntity
categoryEntity
=
categoryBiz
.
getEntity
(
Integer
.
parseInt
(
category
.
getId
()));
model
.
addAttribute
(
"categoryEntity"
,
categoryEntity
);
}
model
.
addAttribute
(
"appId"
,
BasicUtil
.
getAppId
());
return
"/cms/category/form"
;
}
...
...
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
View file @
92a99a44
...
...
@@ -200,7 +200,7 @@
:limit="1"
:on-exceed="categoryImghandleExceed"
:disabled="false"
:data="
{
uploadPath
:
'/
cms
/
category
'
,
'
isRename
'
:
true
,
'
appId
'
:
true
}
"
:data="
{
uploadPath
:
'/
$
{
appId
}
/
cms
/
category
'
,
'
isRename
'
:
true
}
"
:on-success="categoryImgSuccess"
accept="image/
*
"
list-type="picture-card">
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment