标签:bpm audit res enable turn mvc app mon code
默认认为你手中已经有abp-zero项目,当前4.6.0
运行项目,初始化是跳转到~/App/common/views/layout/layout.cshtml,使用的angularJS
想使用jquery版本,需要修改 Web\Controllers\ApplicationController.cs,当然我们新添加的功能也是放到 Areas/Mpa/ 下
ps:Mpa 在这里是多页面的意思
namespace MyCompanyName.AbpZeroTemplate.Web.Controllers { [AbpMvcAuthorize] public class ApplicationController : AbpZeroTemplateControllerBase { [DisableAuditing] public ActionResult Index() { /* Enable next line to redirect to Multi-Page Application */ return RedirectToAction("Index", "Home", new { area = "Mpa" }); //return View("~/App/common/views/layout/layout.cshtml"); //Layout of the angular application. } } }
修改 Core\AbpZeroTemplateConsts.cs
public class AbpZeroTemplateConsts { public const string LocalizationSourceName = "AbpZeroTemplate"; /// <summary> /// 是否启用多租户 /// </summary> public const bool MultiTenancyEnabled = true; }
标签:bpm audit res enable turn mvc app mon code
原文地址:http://www.cnblogs.com/Jerrycjc/p/7755277.html