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
3fa9aac6
"jetbrains:/idea/checkout/git" did not exist on "7167f29276e96a76262f6b3709896eac86fce2fe"
Commit
3fa9aac6
authored
Feb 15, 2020
by
铭飞
Committed by
Gitee
Feb 15, 2020
Browse files
!226 appId调整
Merge pull request !226 from 小伍/master
parents
ff22e631
92a99a44
Changes
2
Show whitespace changes
Inline
Side-by-side
src/main/java/net/mingsoft/cms/action/CategoryAction.java
View file @
3fa9aac6
...
...
@@ -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 @
3fa9aac6
...
...
@@ -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