增加DI中间件;

后台增加远程保存图片
修复后台编辑管理组权限bug
更新CKEditor 到 4.10.0
This commit is contained in:
2018-08-23 11:47:26 +08:00
parent ba00c9e938
commit d34106b512
32 changed files with 874 additions and 631 deletions
@@ -134,7 +134,7 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
//执行添加管理组
[HttpPost]
[MyAuthorize("add", "adminrole", "JSON")]
public IActionResult AddAdminRole(FormCollection fc)
public IActionResult AddAdminRole(IFormCollection fc)
{
string RoleName = fc["RoleName"];
string RoleDescription = fc["RoleDescription"];
@@ -236,7 +236,7 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
//执行编辑管理组
[HttpPost]
[MyAuthorize("edit", "adminrole", "JSON")]
public IActionResult EditAdminRole(FormCollection fc)
public IActionResult EditAdminRole(IFormCollection fc)
{
string Id = fc["Id"];
string RoleName = fc["RoleName"];