diff --git a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Config/SwaggerDoc.xml b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Config/SwaggerDoc.xml
index e0877a59..24e6af67 100644
--- a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Config/SwaggerDoc.xml
+++ b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Config/SwaggerDoc.xml
@@ -59,7 +59,7 @@
- 执行sql返回对应Dto
+ 执行Sql返回
@@ -75,7 +75,7 @@
-
+
策略授权测试
diff --git a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/TestController.cs b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/TestController.cs
index 7be9570a..2f4f1232 100644
--- a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/TestController.cs
+++ b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/TestController.cs
@@ -36,7 +36,7 @@ namespace Yi.Framework.ApiMicroservice.Controllers
///
[HttpGet]
// 特点:化繁为简!意框架仓储代理上下文对象,用起来就是爽,但最好按规范来爽!
- // 规范:控制器严禁使用切换仓储方法,控制器严禁使用DB上下文对象,其它怎么爽怎么来!
+ // 规范:控制器不建议使用切换仓储方法、控制器严禁使用DB上下文对象,其它怎么爽怎么来!
public async Task DbTest()
{
//非常好,使用UserService的特有方法
@@ -51,7 +51,7 @@ namespace Yi.Framework.ApiMicroservice.Controllers
//挺不错,依赖注入其他仓储(就tm一张表,现在自己注入自己)
await _iUserService._repository.GetListAsync();
- //严禁操作,直接切换其他仓储(就tm一张表,现在自己切换自己)
+ //不建议操作,直接切换其他仓储(就tm一张表,现在自己切换自己)
await _iUserService._repository.ChangeRepository>().GetListAsync();
//恭喜你已经毕业了!此后将有一天,接手到这个的软件的程序员将破口大骂。
@@ -61,7 +61,7 @@ namespace Yi.Framework.ApiMicroservice.Controllers
}
///
- /// 执行Sql返回对应Dto
+ /// 执行Sql返回
///
///
[HttpGet]
@@ -99,7 +99,7 @@ namespace Yi.Framework.ApiMicroservice.Controllers
///
[HttpGet]
[Authorize(PolicyName.Sid)]
- public Result AutnTest()
+ public Result AuthTest()
{
return Result.Success();
}