|
|
|
@ -3,6 +3,7 @@ using System.Text; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
|
using Volo.Abp.Auditing; |
|
|
|
using Volo.Abp.Http; |
|
|
|
using Volo.Abp.Json; |
|
|
|
|
|
|
|
namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations |
|
|
|
@ -24,11 +25,14 @@ namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations |
|
|
|
} |
|
|
|
|
|
|
|
[HttpGet] |
|
|
|
[Produces("text/javascript", "text/plain")] |
|
|
|
public async Task<string> Get() |
|
|
|
[Produces(MimeTypes.Application.Javascript, MimeTypes.Text.Plain)] |
|
|
|
public async Task<ActionResult> Get() |
|
|
|
{ |
|
|
|
return CreateAbpExtendScript( |
|
|
|
await _configurationAppService.GetAsync() |
|
|
|
return Content( |
|
|
|
CreateAbpExtendScript( |
|
|
|
await _configurationAppService.GetAsync() |
|
|
|
), |
|
|
|
MimeTypes.Application.Javascript |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|