Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
xiaofang li
MCMS
Commits
b628c730
Commit
b628c730
authored
5 years ago
by
wujj
Browse files
Options
Download
Email Patches
Plain Diff
数据库和上传图片规范
parent
f8b4b664
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
doc/db-mcms-5.0.sql
+160
-171
doc/db-mcms-5.0.sql
src/main/resources/application-dev.yml
+3
-3
src/main/resources/application-dev.yml
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
+1
-1
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
+1
-1
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
src/main/webapp/templets/1/default/menu-left.htm
+15
-0
src/main/webapp/templets/1/default/menu-left.htm
src/main/webapp/templets/1/default/news-list.htm
+1
-0
src/main/webapp/templets/1/default/news-list.htm
with
181 additions
and
176 deletions
+181
-176
doc/db-mcms-5.0.sql
+
160
-
171
View file @
b628c730
This diff is collapsed.
Click to expand it.
src/main/resources/application-dev.yml
+
3
-
3
View file @
b628c730
spring
:
datasource
:
url
:
jdbc:mysql://
localhost
:330
6
/db-mcms-
open
?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true
username
:
root
password
:
root
url
:
jdbc:mysql://
imingsoft.cn
:330
7
/db-mcms-
5.0
?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true
username
:
mcms
password
:
mcms@2020
filters
:
wall,mergeStat
type
:
com.alibaba.druid.pool.DruidDataSource
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
+
1
-
1
View file @
b628c730
...
...
@@ -200,7 +200,7 @@
:limit="1"
:on-exceed="categoryImghandleExceed"
:disabled="false"
:data="
{
uploadPath
:
'/
cms
/
category
'
,
'
isRename
'
:
true
}
"
:data="
{
uploadPath
:
'/
cms
/
category
'
,
'
isRename
'
:
true
,
'
appId
'
:
true
}
"
:on-success="categoryImgSuccess"
accept="image/
*
"
list-type="picture-card">
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
+
1
-
1
View file @
b628c730
...
...
@@ -184,7 +184,7 @@
:limit="1"
:on-exceed="contentImghandleExceed"
:disabled="false"
:data="
{
uploadPath
:
'/
cms
/
content
'
,
'
isRename
'
:
true
}
"
:data="
{
uploadPath
:
'/
cms
/
content
'
,
'
isRename
'
:
true
,
'
appId
'
:
true
}
"
:on-success="contentImgSuccess"
accept="image/
*
"
list-type="picture-card">
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/templets/1/default/menu-left.htm
+
15
-
0
View file @
b628c730
...
...
@@ -17,6 +17,21 @@
<li>
联系我们
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
</a>
</ul>
<style>
.detailMainLeftMenu_cur
{
color
:
red
}
</style>
123
<ul>
{ms:channel type=62 type=son class=detailMainLeftMenu_cur}
[field.typeurl/]
<img
src=
"{ms:global.url/}[field.typelitpic/]"
/>
<li><a
href=
"{ms:global.url/}[field.typelink/]"
class=
"[field.class/]"
>
[field.typetitle/]
</a></li>
{/ms:channel}
456
{ms:channel type=62 type=son flag=t class=detailMainLeftMenu_cur}
[field.typeurl/]
<img
src=
"{ms:global.host/}[field.typelitpic/]"
/>
<li><a
href=
"{ms:global.url/}[field.typelink/]"
class=
"[field.class/]"
>
[field.typetitle/]
</a></li>
{/ms:channel}
</ul>
</div>
<script>
$
(
function
(){
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/templets/1/default/news-list.htm
+
1
-
0
View file @
b628c730
...
...
@@ -22,6 +22,7 @@
<div
class=
"ms-content-main-div"
>
<ul
class=
"ms-content-main-ul"
>
{ms:arclist size=10 ispaging=true}
[field.date?string("yyyy-MM-dd")/]
<li>
<a
href=
"{ms:global.url/}[field.link/]"
>
<!-- <span class="ms-content-main-li-span">·</span> -->
...
...
This diff is collapsed.
Click to expand it.
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