合并
This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.AspNetCore" Version="2.1.6" />
|
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
|
||||||
<PackageReference Include="NewLife.Core" Version="7.4.6881.41311" />
|
<PackageReference Include="NewLife.Core" Version="7.4.6911.41889" />
|
||||||
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" />
|
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" />
|
||||||
<PackageReference Include="ZKWeb.System.Drawing" Version="4.0.1" />
|
<PackageReference Include="ZKWeb.System.Drawing" Version="4.0.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="NewLife.XCode" Version="9.9.6881.41312" />
|
<PackageReference Include="NewLife.XCode" Version="9.9.6911.41890" />
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
|
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -305,11 +305,7 @@ namespace COMCMS.Core
|
|||||||
{
|
{
|
||||||
Ads model = new Ads();
|
Ads model = new Ads();
|
||||||
model = Find(_.Id == aid);
|
model = Find(_.Id == aid);
|
||||||
if (model == null)
|
if (model!=null && model.TId == 4)
|
||||||
{
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
if (model.TId == 4)
|
|
||||||
{
|
{
|
||||||
List<ImgAds> listimg = new List<ImgAds>();
|
List<ImgAds> listimg = new List<ImgAds>();
|
||||||
listimg = JsonConvert.DeserializeObject<List<ImgAds>>(model.Content);
|
listimg = JsonConvert.DeserializeObject<List<ImgAds>>(model.Content);
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<select class="form-control m-b" name="KId" id="KId">
|
<select class="form-control m-b" name="KId" id="KId">
|
||||||
@foreach (var m in ViewBag.ListKinds)
|
@foreach (var m in ViewBag.ListKinds)
|
||||||
{
|
{
|
||||||
<option value="@m.Id">@m.KindName</option>
|
<option value="@m.Id" @(ViewBag.lastkid == m.Id?"selected":"")>@m.KindName</option>
|
||||||
}
|
}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,22 +1,22 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="MailKit" Version="2.1.0.1" />
|
<PackageReference Include="MailKit" Version="2.1.0.2" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.6" />
|
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.2.0" />
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.1.6" />
|
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.2.0" />
|
||||||
<PackageReference Include="MimeKit" Version="2.1.0" />
|
<PackageReference Include="MimeKit" Version="2.1.0" />
|
||||||
<PackageReference Include="MySql.Data" Version="8.0.13" />
|
<PackageReference Include="MySql.Data" Version="8.0.13" />
|
||||||
<PackageReference Include="NewLife.XCode" Version="9.9.6881.41312" />
|
<PackageReference Include="NewLife.XCode" Version="9.9.6911.41890" />
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
|
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
|
||||||
<PackageReference Include="Senparc.Weixin" Version="6.2.1" />
|
<PackageReference Include="Senparc.Weixin" Version="6.2.1" />
|
||||||
<PackageReference Include="Senparc.Weixin.MP" Version="16.5.1" />
|
<PackageReference Include="Senparc.Weixin.MP" Version="16.5.2.1" />
|
||||||
<PackageReference Include="Senparc.Weixin.TenPay" Version="1.0.2" />
|
<PackageReference Include="Senparc.Weixin.TenPay" Version="1.0.2" />
|
||||||
<PackageReference Include="Senparc.Weixin.WxOpen" Version="3.2.1" />
|
<PackageReference Include="Senparc.Weixin.WxOpen" Version="3.2.2.1" />
|
||||||
<PackageReference Include="System.Data.SqlClient" Version="4.5.1" />
|
<PackageReference Include="System.Data.SqlClient" Version="4.6.0" />
|
||||||
<PackageReference Include="ZKWeb.System.Drawing" Version="4.0.1" />
|
<PackageReference Include="ZKWeb.System.Drawing" Version="4.0.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ using XCode;
|
|||||||
using System.Web;
|
using System.Web;
|
||||||
using COMCMS.Web.Filter;
|
using COMCMS.Web.Filter;
|
||||||
using NewLife.Log;
|
using NewLife.Log;
|
||||||
using static COMCMS.Web.Models.APIModels;
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using Senparc.Weixin.WxOpen;
|
using Senparc.Weixin.WxOpen;
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ using XCode;
|
|||||||
using System.Web;
|
using System.Web;
|
||||||
using COMCMS.Web.Filter;
|
using COMCMS.Web.Filter;
|
||||||
using NewLife.Log;
|
using NewLife.Log;
|
||||||
using static COMCMS.Web.Models.APIModels;
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using Senparc.Weixin.WxOpen;
|
using Senparc.Weixin.WxOpen;
|
||||||
|
|||||||
@@ -11,10 +11,10 @@ using XCode;
|
|||||||
using System.Web;
|
using System.Web;
|
||||||
using COMCMS.Web.Filter;
|
using COMCMS.Web.Filter;
|
||||||
using NewLife.Log;
|
using NewLife.Log;
|
||||||
using static COMCMS.Web.Models.APIModels;
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using Senparc.Weixin.WxOpen;
|
using Senparc.Weixin.WxOpen;
|
||||||
|
using COMCMS.Web.Models;
|
||||||
|
|
||||||
namespace COMCMS.Web.Controllers.api
|
namespace COMCMS.Web.Controllers.api
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ namespace COMCMS.Web.Filter
|
|||||||
string timeStamp = pars["timeStamp"];
|
string timeStamp = pars["timeStamp"];
|
||||||
//判断时间有效性
|
//判断时间有效性
|
||||||
DateTime postTime = Utils.StampToDateTime(timeStamp);
|
DateTime postTime = Utils.StampToDateTime(timeStamp);
|
||||||
if (postTime < DateTime.Now.AddSeconds(-120))//30秒有效期
|
if (postTime < DateTime.UtcNow.AddSeconds(-120))//30秒有效期
|
||||||
{
|
{
|
||||||
return new ReJson(40004, "signature 错误!", 1);
|
return new ReJson(40004, "signature 错误!", 1);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace COMCMS.Web.Models
|
namespace COMCMS.Web.Models
|
||||||
{
|
{
|
||||||
public class APIModels
|
|
||||||
{
|
|
||||||
#region 修改我的个人资料Model
|
#region 修改我的个人资料Model
|
||||||
public class APIModMyInfo
|
public class APIModMyInfo
|
||||||
{
|
{
|
||||||
@@ -57,5 +55,54 @@ namespace COMCMS.Web.Models
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region 通用返回信息
|
||||||
|
public class ReJson
|
||||||
|
{
|
||||||
|
public ReJson(string message)
|
||||||
|
{
|
||||||
|
this.message = message;
|
||||||
|
code = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ReJson(int code, string message)
|
||||||
|
{
|
||||||
|
this.code = code;
|
||||||
|
this.message = message;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ReJson(int code, string message, int isReload)
|
||||||
|
{
|
||||||
|
this.code = code;
|
||||||
|
this.message = message;
|
||||||
|
this.isReload = isReload;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ReJson(int code, string message, object detail)
|
||||||
|
{
|
||||||
|
this.code = code;
|
||||||
|
this.message = message;
|
||||||
|
this.detail = detail;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 返回代码 0 为正确
|
||||||
|
/// </summary>
|
||||||
|
public int code { get; set; } = 40000;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 提示语
|
||||||
|
/// </summary>
|
||||||
|
public string message { get; set; }
|
||||||
|
/// <summary>
|
||||||
|
/// 是否重新加载
|
||||||
|
/// </summary>
|
||||||
|
public int isReload { get; set; } = 0;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 数据详情 object
|
||||||
|
/// </summary>
|
||||||
|
public object detail { get; set; }
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ namespace COMCMS.Web
|
|||||||
//部分系统配置
|
//部分系统配置
|
||||||
services.Configure<SystemSetting>(Configuration.GetSection("SystemSetting"));
|
services.Configure<SystemSetting>(Configuration.GetSection("SystemSetting"));
|
||||||
|
|
||||||
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1); ;
|
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2); ;
|
||||||
//防止汉字被自动编码
|
//防止汉字被自动编码
|
||||||
services.Configure<WebEncoderOptions>(options =>
|
services.Configure<WebEncoderOptions>(options =>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
ViewBag.description = cfg.Description;
|
ViewBag.description = cfg.Description;
|
||||||
|
|
||||||
Article about = ViewBag.about;
|
Article about = ViewBag.about;
|
||||||
|
|
||||||
IList<Link> listLinks = Link.FindAll(Link._.KId == 1, Link._.Sequence.Asc(), null, 0, 0);
|
IList<Link> listLinks = Link.FindAll(Link._.KId == 1, Link._.Sequence.Asc(), null, 0, 0);
|
||||||
|
|
||||||
//处理bannr广告
|
//处理bannr广告
|
||||||
@@ -18,12 +17,17 @@
|
|||||||
<div class="banner normal">
|
<div class="banner normal">
|
||||||
<div class="swiper-container">
|
<div class="swiper-container">
|
||||||
<div class="swiper-wrapper">
|
<div class="swiper-wrapper">
|
||||||
@foreach (var img in bannerPC??new List<ImgAds>())
|
@{
|
||||||
|
if(bannerPC != null && bannerPC.Any())
|
||||||
|
{
|
||||||
|
foreach (var img in bannerPC)
|
||||||
{
|
{
|
||||||
<div class="swiper-slide">
|
<div class="swiper-slide">
|
||||||
<a href="@img.link" title="@(img.alt)" style="background: url('@img.img') center top no-repeat; background-size:cover"></a>
|
<a href="@img.link" title="@(img.alt)" style="background: url('@img.img') center top no-repeat; background-size:cover"></a>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
<div class="cont">
|
<div class="cont">
|
||||||
<span class="banner-prev"></span>
|
<span class="banner-prev"></span>
|
||||||
@@ -35,12 +39,17 @@
|
|||||||
<div class="banner mobile">
|
<div class="banner mobile">
|
||||||
<div class="swiper-container">
|
<div class="swiper-container">
|
||||||
<div class="swiper-wrapper">
|
<div class="swiper-wrapper">
|
||||||
@foreach (var img in bannerPC ?? new List<ImgAds>())
|
@{
|
||||||
|
if(bannerPC != null && bannerPC.Any())
|
||||||
|
{
|
||||||
|
foreach (var img in bannerPC)
|
||||||
{
|
{
|
||||||
<div class="swiper-slide">
|
<div class="swiper-slide">
|
||||||
<a href="@img.link" title="@(img.alt)" style="background: url('@img.img') center top no-repeat; background-size: 100%;"></a>
|
<a href="@img.link" title="@(img.alt)" style="background: url('@img.img') center top no-repeat; background-size: 100%;"></a>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -232,6 +241,7 @@
|
|||||||
var spa = -2;
|
var spa = -2;
|
||||||
oul.innerHTML = oul.innerHTML + oul.innerHTML;
|
oul.innerHTML = oul.innerHTML + oul.innerHTML;
|
||||||
oul.style.width = (ali[0].offsetWidth + mr) * ali.length + 3 + 'px';
|
oul.style.width = (ali[0].offsetWidth + mr) * ali.length + 3 + 'px';
|
||||||
|
|
||||||
function move() {
|
function move() {
|
||||||
if (oul.offsetLeft < -oul.offsetWidth / 2) {
|
if (oul.offsetLeft < -oul.offsetWidth / 2) {
|
||||||
oul.style.left = 0;
|
oul.style.left = 0;
|
||||||
@@ -240,8 +250,12 @@
|
|||||||
}
|
}
|
||||||
var timer = setInterval(move, 30);
|
var timer = setInterval(move, 30);
|
||||||
|
|
||||||
odiv.onmousemove = function () { clearInterval(timer); }
|
odiv.onmousemove = function () {
|
||||||
odiv.onmouseout = function () { timer = setInterval(move, 30) };
|
clearInterval(timer);
|
||||||
|
}
|
||||||
|
odiv.onmouseout = function () {
|
||||||
|
timer = setInterval(move, 30)
|
||||||
|
};
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -267,7 +281,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="i-news-main">
|
<div class="i-news-main">
|
||||||
@{
|
@{
|
||||||
IList<Article> listNews1 = Article.FindAll(Article._.KId == 6, Article._.Sequence.Asc(), null, 0, 4);
|
IList<Article> listNews1 = Article.FindAll(Article._.KId == 6, Article._.Sequence.Asc(), null, 0,
|
||||||
|
4);
|
||||||
}
|
}
|
||||||
<div class="i-news-box">
|
<div class="i-news-box">
|
||||||
<!-- 左边 -->
|
<!-- 左边 -->
|
||||||
@@ -296,9 +311,7 @@
|
|||||||
@if (listNews1.Count > 1)
|
@if (listNews1.Count > 1)
|
||||||
{
|
{
|
||||||
<ul class="i-news-list">
|
<ul class="i-news-list">
|
||||||
@for(int i=1; i < listNews1.Count; i++)
|
@for(int i=1; i < listNews1.Count; i++) { <li>
|
||||||
{
|
|
||||||
<li>
|
|
||||||
<a href="/article/detail/@listNews1[i].Id" title="@listNews1[i].Title">
|
<a href="/article/detail/@listNews1[i].Id" title="@listNews1[i].Title">
|
||||||
<div class="i-news-time">
|
<div class="i-news-time">
|
||||||
<div class="pic-box">
|
<div class="pic-box">
|
||||||
@@ -324,7 +337,8 @@
|
|||||||
<div class="i-news-box">
|
<div class="i-news-box">
|
||||||
<!-- 左边 -->
|
<!-- 左边 -->
|
||||||
@{
|
@{
|
||||||
IList<Article> listNews2 = Article.FindAll(Article._.KId == 7, Article._.Sequence.Asc(), null, 0, 4);
|
IList<Article> listNews2 = Article.FindAll(Article._.KId == 7, Article._.Sequence.Asc(),
|
||||||
|
null, 0, 4);
|
||||||
}
|
}
|
||||||
@if (listNews2.Count > 0)
|
@if (listNews2.Count > 0)
|
||||||
{
|
{
|
||||||
@@ -340,7 +354,8 @@
|
|||||||
<span>@listNews2[0].Title</span>
|
<span>@listNews2[0].Title</span>
|
||||||
<small>@listNews2[0].AddTime.ToString("yyyy-MM-dd")</small>
|
<small>@listNews2[0].AddTime.ToString("yyyy-MM-dd")</small>
|
||||||
</p>
|
</p>
|
||||||
<p class="i-news-t"><span>@Utils.CutString(Utils.NoHTML(listNews2[0].Content), 200)</span></p>
|
<p class="i-news-t"><span>@Utils.CutString(Utils.NoHTML(listNews2[0].Content),
|
||||||
|
200)</span></p>
|
||||||
<b class="normal read-d">查看详情</b>
|
<b class="normal read-d">查看详情</b>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
@@ -351,9 +366,7 @@
|
|||||||
@if (listNews2.Count > 1)
|
@if (listNews2.Count > 1)
|
||||||
{
|
{
|
||||||
<ul class="i-news-list">
|
<ul class="i-news-list">
|
||||||
@for (int i = 1; i < listNews2.Count; i++)
|
@for (int i = 1; i < listNews2.Count; i++) { <li>
|
||||||
{
|
|
||||||
<li>
|
|
||||||
<a href="/article/detail/@listNews2[i].Id" title="@listNews2[i].Title">
|
<a href="/article/detail/@listNews2[i].Id" title="@listNews2[i].Title">
|
||||||
<div class="i-news-time">
|
<div class="i-news-time">
|
||||||
<div class="pic-box">
|
<div class="pic-box">
|
||||||
@@ -380,6 +393,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
iNews();
|
iNews();
|
||||||
|
|
||||||
function iNews() {
|
function iNews() {
|
||||||
var index = $('.i-news-on').index();
|
var index = $('.i-news-on').index();
|
||||||
$('.i-news-box').eq(index).show();
|
$('.i-news-box').eq(index).show();
|
||||||
@@ -453,6 +467,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var mySwiper2;
|
var mySwiper2;
|
||||||
var mySwiper3;
|
var mySwiper3;
|
||||||
|
|
||||||
function coopSwiper() {
|
function coopSwiper() {
|
||||||
if ($('#main').attr('class') === 'pc') {
|
if ($('#main').attr('class') === 'pc') {
|
||||||
mySwiper3 = new Swiper('.i-coop-cont .normal', {
|
mySwiper3 = new Swiper('.i-coop-cont .normal', {
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -5,7 +5,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.AspNetCore" Version="2.1.6" />
|
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Http.Features" Version="2.1.1" />
|
<PackageReference Include="Microsoft.AspNetCore.Http.Features" Version="2.2.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.AspNetCore.App" />
|
<PackageReference Include="Microsoft.AspNetCore.App" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All" />
|
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -19,11 +19,13 @@
|
|||||||
<BackupPath>Backup</BackupPath>
|
<BackupPath>Backup</BackupPath>
|
||||||
<!--命令超时。查询执行超时时间,默认0秒不限制-->
|
<!--命令超时。查询执行超时时间,默认0秒不限制-->
|
||||||
<CommandTimeout>0</CommandTimeout>
|
<CommandTimeout>0</CommandTimeout>
|
||||||
<!--实体缓存过期。默认10秒-->
|
<!--数据层缓存。默认0秒-->
|
||||||
|
<DataCacheExpire>0</DataCacheExpire>
|
||||||
|
<!--实体缓存过期。整表缓存实体列表,默认10秒-->
|
||||||
<EntityCacheExpire>10</EntityCacheExpire>
|
<EntityCacheExpire>10</EntityCacheExpire>
|
||||||
<!--单对象缓存过期。默认10秒-->
|
<!--单对象缓存过期。按主键缓存实体,默认10秒-->
|
||||||
<SingleCacheExpire>10</SingleCacheExpire>
|
<SingleCacheExpire>10</SingleCacheExpire>
|
||||||
<!--扩展属性过期。默认10秒-->
|
<!--扩展属性过期。扩展属性Extends缓存,默认10秒-->
|
||||||
<ExtendExpire>10</ExtendExpire>
|
<ExtendExpire>10</ExtendExpire>
|
||||||
<!--反向工程。Off 关闭;ReadOnly 只读不执行;On 打开,仅新建;Full 完全,修改删除-->
|
<!--反向工程。Off 关闭;ReadOnly 只读不执行;On 打开,仅新建;Full 完全,修改删除-->
|
||||||
<Migration>On</Migration>
|
<Migration>On</Migration>
|
||||||
|
|||||||
@@ -30,8 +30,8 @@
|
|||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="NewLife.Core, Version=7.4.6881.41311, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="NewLife.Core, Version=7.4.6911.41889, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\NewLife.Core.7.4.6881.41311\lib\net45\NewLife.Core.dll</HintPath>
|
<HintPath>..\packages\NewLife.Core.7.4.6911.41889\lib\net45\NewLife.Core.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
@@ -41,8 +41,8 @@
|
|||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Net.Http" />
|
<Reference Include="System.Net.Http" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="XCode, Version=9.9.6881.41312, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="XCode, Version=9.9.6911.41890, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\NewLife.XCode.9.9.6881.41312\lib\net45\XCode.dll</HintPath>
|
<HintPath>..\packages\NewLife.XCode.9.9.6911.41890\lib\net45\XCode.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Tables Version="9.9.6806.43122" NameSpace="COMCMS.Core" ConnName="dbconn" Output="" BaseClass="Entity">
|
<Tables Version="9.9.6881.41313" NameSpace="COMCMS.Core" ConnName="dbconn" Output="" BaseClass="Entity">
|
||||||
<Table Name="Admin" Description="管理员" DbType="SqlServer">
|
<Table Name="Admin" Description="管理员" DbType="SqlServer">
|
||||||
<Columns>
|
<Columns>
|
||||||
<Column Name="Id" DataType="Int32" Identity="True" PrimaryKey="True" Description="编号" />
|
<Column Name="Id" DataType="Int32" Identity="True" PrimaryKey="True" Description="编号" />
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="NewLife.Core" version="7.4.6881.41311" targetFramework="net461" />
|
<package id="NewLife.Core" version="7.4.6911.41889" targetFramework="net461" />
|
||||||
<package id="NewLife.XCode" version="9.9.6881.41312" targetFramework="net461" />
|
<package id="NewLife.XCode" version="9.9.6911.41890" targetFramework="net461" />
|
||||||
</packages>
|
</packages>
|
||||||
Reference in New Issue
Block a user