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
"vscode:/vscode.git/clone" did not exist on "34b91ea7fd7335363fa4107d1992286105824ceb"
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
Hide 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{
...
@@ -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"
;
}
}
...
...
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
View file @
3fa9aac6
...
@@ -200,7 +200,7 @@
...
@@ -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">
...
...
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