diff --git a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Config/SwaggerDoc.xml b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Config/SwaggerDoc.xml
index 704bf226..31e156df 100644
--- a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Config/SwaggerDoc.xml
+++ b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Config/SwaggerDoc.xml
@@ -61,6 +61,12 @@
+
+
+ 验证码
+
+
+
Json To Sql 类比模式,通用模型
diff --git a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/AccountController.cs b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/AccountController.cs
index f82fc405..b69e7fd6 100644
--- a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/AccountController.cs
+++ b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/AccountController.cs
@@ -167,5 +167,16 @@ namespace Yi.Framework.ApiMicroservice.Controllers
}
return Result.Error("更新失败!");
}
+
+ ///
+ /// 验证码
+ ///
+ ///
+ [AllowAnonymous]
+ [HttpGet]
+ public async Task CaptchaImage()
+ {
+ return Result.Success().SetData(new { uuid=123,img="dasdas"});
+ }
}
}