增加连接串加密,粤北安装版本封存
This commit is contained in:
@ -0,0 +1,49 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using HT.Cloud.Service.ChartsManage;
|
||||
using HT.Cloud.Service.ReportManage;
|
||||
using HT.Cloud.Code;
|
||||
|
||||
namespace HT.Cloud.Web.Areas.ReportManage.Controllers
|
||||
{
|
||||
[Area("ReportManage")]
|
||||
public class MainPageController : BaseController
|
||||
{
|
||||
public MainPageService _mainPageService { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 绑定数据仓库的数据库ID
|
||||
/// </summary>
|
||||
private string groupDescription = GlobalContext.SystemConfig.GroupDescription;
|
||||
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> GetMainPageInit()
|
||||
{
|
||||
var data = await _mainPageService.GetMainPageInit(groupDescription);
|
||||
return Content(data);
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> GetMainPageChartInit()
|
||||
{
|
||||
var data = await _mainPageService.GetMainPageChartInit(groupDescription);
|
||||
return Content(data);
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> GetRtData()
|
||||
{
|
||||
var data = await _mainPageService.GetRtData(groupDescription);
|
||||
return Content(data);
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> GetRtChartData()
|
||||
{
|
||||
var data = await _mainPageService.GetRtChartData(groupDescription);
|
||||
return Content(data);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user