Commit b628c730 authored by wujj's avatar wujj
Browse files

数据库和上传图片规范

parent f8b4b664
This source diff could not be displayed because it is too large. You can view the blob instead.
spring:
datasource:
url: jdbc:mysql://localhost:3306/db-mcms-open?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true
username: root
password: root
url: jdbc:mysql://imingsoft.cn:3307/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
......@@ -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">
......
......@@ -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">
......
......@@ -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(){
......
......@@ -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> -->
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment