新增jnt模板引擎
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Hei.Captcha;
|
||||
using Infrastructure;
|
||||
using Infrastructure.Extensions;
|
||||
using JinianNet.JNTemplate;
|
||||
using Microsoft.AspNetCore.Authentication.Cookies;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.DataProtection;
|
||||
@@ -84,6 +85,14 @@ namespace ZR.Admin.WebApi
|
||||
c.IncludeXmlComments("ZRAdmin.xml", true);
|
||||
}
|
||||
});
|
||||
|
||||
//jntģ<74><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȫ<EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD>
|
||||
Engine.Configure((options) =>
|
||||
{
|
||||
options.Data.Set("author", Configuration["gen:author"]);
|
||||
options.Data.Set("time", DateTime.Now.ToString("yyyy-MM-dd"));
|
||||
//...<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
});
|
||||
}
|
||||
|
||||
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||
|
||||
Reference in New Issue
Block a user