替换代码生成模板

This commit is contained in:
不做码农
2021-12-01 14:06:01 +08:00
parent 76b0affa48
commit 995c88cd92
13 changed files with 222 additions and 281 deletions

View File

@@ -1,7 +1,6 @@
using Hei.Captcha;
using Infrastructure;
using Infrastructure.Extensions;
using JinianNet.JNTemplate;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.DataProtection;
@@ -43,7 +42,7 @@ namespace ZR.Admin.WebApi
{
c.AddPolicy("Policy", policy =>
{
policy.WithOrigins(corsUrls.Split(',', System.StringSplitOptions.RemoveEmptyEntries))
policy.WithOrigins(corsUrls.Split(',', StringSplitOptions.RemoveEmptyEntries))
.AllowAnyHeader()//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ
.AllowCredentials()//<2F><><EFBFBD><EFBFBD>cookie
.AllowAnyMethod();//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E2B7BD>