Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
b628c730
Commit
b628c730
authored
Jan 10, 2020
by
wujj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据库和上传图片规范
parent
f8b4b664
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
5 deletions
+22
-5
db-mcms-5.0.sql
doc/db-mcms-5.0.sql
+0
-0
application-dev.yml
src/main/resources/application-dev.yml
+4
-3
form.ftl
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
+1
-1
form.ftl
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
+1
-1
menu-left.htm
src/main/webapp/templets/1/default/menu-left.htm
+15
-0
news-list.htm
src/main/webapp/templets/1/default/news-list.htm
+1
-0
No files found.
doc/db-mcms-5.0.sql
View file @
b628c730
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/main/resources/application-dev.yml
View file @
b628c730
spring
:
spring
:
datasource
:
datasource
:
url
:
jdbc:mysql://
localhost:3306/db-mcms-open
?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true
url
:
jdbc:mysql://
imingsoft.cn:3307/db-mcms-5.0
?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true
username
:
root
username
:
mcms
password
:
root
password
:
mcms@2020
filters
:
wall,mergeStat
filters
:
wall,mergeStat
type
:
com.alibaba.druid.pool.DruidDataSource
type
:
com.alibaba.druid.pool.DruidDataSource
\ No newline at end of file
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
View file @
b628c730
...
@@ -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}"
:data=
"{uploadPath:'/cms/category','isRename':true
,'appId':true
}"
:on-success=
"categoryImgSuccess"
:on-success=
"categoryImgSuccess"
accept=
"image/*"
accept=
"image/*"
list-type=
"picture-card"
>
list-type=
"picture-card"
>
...
...
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
View file @
b628c730
...
@@ -184,7 +184,7 @@
...
@@ -184,7 +184,7 @@
:limit=
"1"
:limit=
"1"
:on-exceed=
"contentImghandleExceed"
:on-exceed=
"contentImghandleExceed"
:disabled=
"false"
:disabled=
"false"
:data=
"{uploadPath:'/cms/content','isRename':true}"
:data=
"{uploadPath:'/cms/content','isRename':true
,'appId':true
}"
:on-success=
"contentImgSuccess"
:on-success=
"contentImgSuccess"
accept=
"image/*"
accept=
"image/*"
list-type=
"picture-card"
>
list-type=
"picture-card"
>
...
...
src/main/webapp/templets/1/default/menu-left.htm
View file @
b628c730
...
@@ -17,6 +17,21 @@
...
@@ -17,6 +17,21 @@
<li>
联系我们
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
<li>
联系我们
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
</a>
</a>
</ul>
</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>
</div>
<script>
<script>
$
(
function
(){
$
(
function
(){
...
...
src/main/webapp/templets/1/default/news-list.htm
View file @
b628c730
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
<div
class=
"ms-content-main-div"
>
<div
class=
"ms-content-main-div"
>
<ul
class=
"ms-content-main-ul"
>
<ul
class=
"ms-content-main-ul"
>
{ms:arclist size=10 ispaging=true}
{ms:arclist size=10 ispaging=true}
[field.date?string("yyyy-MM-dd")/]
<li>
<li>
<a
href=
"{ms:global.url/}[field.link/]"
>
<a
href=
"{ms:global.url/}[field.link/]"
>
<!-- <span class="ms-content-main-li-span">·</span> -->
<!-- <span class="ms-content-main-li-span">·</span> -->
...
...
Write
Preview
Markdown
is supported
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