修复bug,更新说明,增加一个linux下面mysql数据库sql

This commit is contained in:
2018-08-22 19:47:04 +08:00
parent b228e11e38
commit ba00c9e938
17 changed files with 1801 additions and 26 deletions
@@ -66,10 +66,10 @@
<td>
<div class="rt-editpanel">
<a href="javascript:;" class="btn btn-xs btn-primary" title="编辑" onclick="showEdit(@m.Id)"><i class="fa fa-edit"></i> 编辑</a>
<a href="javascript:;" class="btn btn-xs btn-danger" title="删除" onclick="doDel('/AdminCP/Guestbook/DelGuestbookKind',@m.Id);"><i class="fa fa-close"></i> 删除</a>
<a href="javascript:;" class="btn btn-xs btn-danger" title="删除" onclick="doDel('/AdminCP/Guestbook/DelGuestbookCategory',@m.Id);"><i class="fa fa-close"></i> 删除</a>
</div>
<div class="rt-savepanel hidden">
<a href="javascript:;" class="btn btn-xs btn-success" title="保存" onclick="doEdit('listGuestbookKindForm', '/AdminCP/Guestbook/EditGuestbookKind',@m.Id)"><i class="fa fa-save"></i> 保存</a>
<a href="javascript:;" class="btn btn-xs btn-success" title="保存" onclick="doEdit('listGuestbookKindForm', '/AdminCP/Guestbook/EditGuestbookCategory',@m.Id)"><i class="fa fa-save"></i> 保存</a>
<a href="javascript:;" class="btn btn-xs btn-default" title="取消" onclick="cancelEdit(@m.Id);"><i class="fa fa-mail-reply"></i> 取消</a>
</div>
</td>
@@ -83,7 +83,7 @@
<td class="text-center"><input type="number" name="Rank" id="Rank" class="form-control addnew" value="0" maxlength="3" placeholder="请输入类别排序,只能填写数字" /></td>
<td><input type="text" name="KindInfo" id="KindInfo" class="form-control addnew" placeholder="类别简介,非必填" maxlength="200" /></td>
<td>
<button type="button" class="btn btn-xs btn-success" title="保存" onclick="doAdd('listGuestbookKindForm', '/AdminCP/Guestbook/AddGuestbookKind');"><i class="fa fa-save"></i> 保存</button>
<button type="button" class="btn btn-xs btn-success" title="保存" onclick="doAdd('listGuestbookKindForm', '/AdminCP/Guestbook/AddGuestbookCategory');"><i class="fa fa-save"></i> 保存</button>
</td>
</tr>
</table>
+6 -6
View File
@@ -5,13 +5,13 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.2" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.1.1" />
<PackageReference Include="MySql.Data" Version="8.0.11" />
<PackageReference Include="NewLife.XCode" Version="9.8.6763.36551" />
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.3" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.1.3" />
<PackageReference Include="MySql.Data" Version="8.0.12" />
<PackageReference Include="NewLife.XCode" Version="9.9.6806.38809" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
<PackageReference Include="Senparc.Weixin.MP" Version="15.0.11" />
<PackageReference Include="Senparc.Weixin.WxOpen" Version="2.0.11" />
<PackageReference Include="Senparc.Weixin.MP" Version="15.2.2" />
<PackageReference Include="Senparc.Weixin.WxOpen" Version="2.4.0" />
<PackageReference Include="System.Data.SqlClient" Version="4.5.1" />
<PackageReference Include="ZKWeb.System.Drawing" Version="4.0.1" />
</ItemGroup>
@@ -92,7 +92,7 @@ namespace COMCMS.Web.Controllers.api
TenPayV3Info TenPayV3Info = new TenPayV3Info(appId, appSecrect, wxmchId, wxmchKey, Utils.GetServerUrl() + "/wxpayment/notify");
TenPayV3Info TenPayV3Info = new TenPayV3Info(appId, appSecrect, wxmchId, wxmchKey, Utils.GetServerUrl() + "/wxpayment/notify", Utils.GetServerUrl() + "/wxpayment/notify");
TenPayV3Info.TenPayV3Notify = Utils.GetServerUrl() + "/wxpayment/notify";
XTrace.WriteLine("微信支付异步通知地址:" + TenPayV3Info.TenPayV3Notify);
//创建支付应答对象
@@ -41,7 +41,7 @@ namespace COMCMS.Web.Controllers
string wxmchId = cfg.MCHId;// ConfigurationManager.AppSettings["WeixinMCHId"];
string wxmchKey = cfg.MCHKey;// ConfigurationManager.AppSettings["WeixinMCHKey"];
TenPayV3Info TenPayV3Info = new TenPayV3Info(appId, appSecrect, wxmchId, wxmchKey, Utils.GetServerUrl() + "/wxpayment/notify");
TenPayV3Info TenPayV3Info = new TenPayV3Info(appId, appSecrect, wxmchId, wxmchKey, Utils.GetServerUrl() + "/wxpayment/notify", Utils.GetServerUrl() + "/wxpayment/notify");
string res = null;
+1 -1
View File
@@ -13,7 +13,7 @@
},
"connectionStrings": {
"dbconn": {
"connectionString": "Server=.;Port=3306;Database=comcms2;Uid=root;Pwd=123456;SslMode=None",
"connectionString": "Server=.;Port=3306;Database=comcms2;Uid=root;Pwd=root;SslMode=None",
"providerName": "MySql.Data.MySqlClient"
},
"mssqlconnon": {