26 lines
755 B
Plaintext
26 lines
755 B
Plaintext
using Bunny.Dao.Common.Constant.Result;
|
|
using Bunny.Dao.Common.Result;
|
|
using Lazy.Captcha.Core;
|
|
using log4net;
|
|
using Microsoft.AspNetCore.Components;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
<#@ include file="./BaseConstants.tt" #>
|
|
|
|
<#@ template hostspecific="true" language="C#" #>
|
|
<#@ output extension=".cs" encoding="utf-8" #>
|
|
<#@ assembly name="System.Core" #>
|
|
|
|
namespace Bunny.WebApi.Controllers;
|
|
|
|
/// <summary>
|
|
/// 控制器
|
|
/// By <#= author #>
|
|
/// <#= DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") #>
|
|
/// </summary>
|
|
[Microsoft.AspNetCore.Mvc.Route("/api/[controller]/[action]")]
|
|
public class <#= controllerName #>Controller : ControllerBase
|
|
{
|
|
private static readonly ILog Log = LogManager.GetLogger(typeof(CaptchaTestController));
|
|
|
|
} |