diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/AccountController.cs b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/AccountController.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/AccountController.cs
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/AccountController.cs
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/FileController.cs b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/FileController.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/FileController.cs
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/FileController.cs
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/JobController.cs b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/JobController.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/JobController.cs
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/JobController.cs
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/MenuController.cs b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/MenuController.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/MenuController.cs
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/MenuController.cs
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/MouldController.cs b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/MouldController.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/MouldController.cs
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/MouldController.cs
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/RoleController.cs b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/RoleController.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/RoleController.cs
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/RoleController.cs
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/SettingController.cs b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/SettingController.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/SettingController.cs
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/SettingController.cs
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/UserController.cs b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/UserController.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/UserController.cs
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Controllers/UserController.cs
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/Log4net.config b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Log4net.config
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/Log4net.config
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Log4net.config
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/Program.cs b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Program.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/Program.cs
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Program.cs
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/Startup.cs b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Startup.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/Startup.cs
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Startup.cs
diff --git a/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/SwaggerDoc.xml b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/SwaggerDoc.xml
new file mode 100644
index 00000000..3173de6a
--- /dev/null
+++ b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/SwaggerDoc.xml
@@ -0,0 +1,278 @@
+
+
+
+ Yi.Framework.ApiMicroservice
+
+
+
+
+ 登录方法,要返回data:{user,token} token
+
+
+
+
+
+
+ 不用写,单纯制作日志
+
+
+
+
+
+ code为验证码,从redis中判断一下code是否正确
+
+
+
+
+
+
+
+ 发送短信,需要将生成的sms+code存入redis
+
+
+
+
+
+
+ 发送邮箱,需要先到数据库判断该邮箱是否被人注册过,到userservice写mail_exist方法,还有接口别忘了。
+
+
+
+
+
+
+ 修改密码
+
+
+
+
+
+
+ 该方法不对外暴露
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 这个是要递归的,但是要过滤掉删除的,所以,可以写一个通用过滤掉删除的方法
+
+
+
+
+
+ 更
+
+
+
+
+
+
+ 删
+
+
+
+
+
+
+ 增
+ 现在,top菜单只允许为一个
+
+
+
+
+
+
+ 给一个菜单设置一个接口,Id1为菜单id,Id2为接口id
+ 用于给菜单设置接口
+
+
+
+
+
+
+ 给一个菜单添加子节点(注意:添加,不是覆盖)
+
+
+
+
+
+
+ 获取用户的目录菜单,不包含接口
+ 用于账户信息页面,显示这个用户有哪些菜单,需要并列
+
+
+
+
+
+ 更
+
+
+
+
+
+
+ 删
+
+
+
+
+
+
+ 增
+
+
+
+
+
+
+ 更
+
+
+
+
+
+
+ 删
+
+
+
+
+
+
+ 增
+
+
+
+
+
+
+ 根据用户id得到该用户有哪些角色
+ 用于显示用户详情中的角色说明
+
+
+
+
+
+ 给角色设置菜单,多个角色与多个菜单,让每一个角色都设置,ids1为角色,ids2为菜单
+ 用于设置角色
+
+
+
+
+
+
+ 用于给角色设置菜单的时候,点击一个角色,显示这个角色拥有的并列的菜单
+
+
+
+
+
+
+ 查
+
+
+
+
+
+ 更
+
+
+
+
+
+
+ 查
+
+
+
+
+
+ 更
+
+
+
+
+
+
+ 删
+
+
+
+
+
+
+ 增
+
+
+
+
+
+
+ SetRoleByUser
+ 给多个用户设置多个角色,ids有用户id与 角色列表ids,多对多,ids1用户,ids2为角色
+ 用户设置给用户设置角色
+
+
+
+
+
+
+ 根据http上下文的用户得到该用户信息,关联角色
+ 用于显示账号信息页中的用户信息和角色信息
+
+
+
+
+
+ 得到登录用户的递归菜单,放到导航栏
+ 用户放到导航栏中
+
+
+
+
+
+ 得到请求模型
+
+
+
+
+
+
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/Yi.Framework.ApiMicroservice.csproj b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Yi.Framework.ApiMicroservice.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/Yi.Framework.ApiMicroservice.csproj
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/Yi.Framework.ApiMicroservice.csproj
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/Excel/Excel_20211102231510.xlsx b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/Excel/Excel_20211102231510.xlsx
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/Excel/Excel_20211102231510.xlsx
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/Excel/Excel_20211102231510.xlsx
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/Excel/Excel_20211102232113.xlsx b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/Excel/Excel_20211102232113.xlsx
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/Excel/Excel_20211102232113.xlsx
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/Excel/Excel_20211102232113.xlsx
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/image/0a5221e4-dca6-4d4e-8486-acf86822f2e4.jpg b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/image/0a5221e4-dca6-4d4e-8486-acf86822f2e4.jpg
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/image/0a5221e4-dca6-4d4e-8486-acf86822f2e4.jpg
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/image/0a5221e4-dca6-4d4e-8486-acf86822f2e4.jpg
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/image/1b0a926d-ddce-4048-9b09-e2b8ec37c161.jpg b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/image/1b0a926d-ddce-4048-9b09-e2b8ec37c161.jpg
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/image/1b0a926d-ddce-4048-9b09-e2b8ec37c161.jpg
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/image/1b0a926d-ddce-4048-9b09-e2b8ec37c161.jpg
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/image/3d6ed457-0c20-4ce6-b91c-8c424f2f03bb.jpeg b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/image/3d6ed457-0c20-4ce6-b91c-8c424f2f03bb.jpeg
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/image/3d6ed457-0c20-4ce6-b91c-8c424f2f03bb.jpeg
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/image/3d6ed457-0c20-4ce6-b91c-8c424f2f03bb.jpeg
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/image/6312706b-7013-4aa5-af3c-0bbb6b3f4804.jpg b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/image/6312706b-7013-4aa5-af3c-0bbb6b3f4804.jpg
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/image/6312706b-7013-4aa5-af3c-0bbb6b3f4804.jpg
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/image/6312706b-7013-4aa5-af3c-0bbb6b3f4804.jpg
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/image/7ca98a58-8822-40f5-a766-2a2dd21d2431.jpg b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/image/7ca98a58-8822-40f5-a766-2a2dd21d2431.jpg
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/image/7ca98a58-8822-40f5-a766-2a2dd21d2431.jpg
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/image/7ca98a58-8822-40f5-a766-2a2dd21d2431.jpg
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/image/966200f6-265c-4470-ad20-c91c3d84a1cc.jpg b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/image/966200f6-265c-4470-ad20-c91c3d84a1cc.jpg
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/image/966200f6-265c-4470-ad20-c91c3d84a1cc.jpg
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/image/966200f6-265c-4470-ad20-c91c3d84a1cc.jpg
diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/image/feae1964-04ce-464b-848b-86f2245f3f63.jpeg b/Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/image/feae1964-04ce-464b-848b-86f2245f3f63.jpeg
similarity index 100%
rename from Yi.Framework/Yi.Framework.ApiMicroservice/wwwroot/image/feae1964-04ce-464b-848b-86f2245f3f63.jpeg
rename to Yi.Framework.Net5/Yi.Framework.ApiMicroservice/wwwroot/image/feae1964-04ce-464b-848b-86f2245f3f63.jpeg
diff --git a/Yi.Framework/Yi.Framework.AuthenticationCenter/Controllers/WeatherForecastController.cs b/Yi.Framework.Net5/Yi.Framework.AuthenticationCenter/Controllers/WeatherForecastController.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.AuthenticationCenter/Controllers/WeatherForecastController.cs
rename to Yi.Framework.Net5/Yi.Framework.AuthenticationCenter/Controllers/WeatherForecastController.cs
diff --git a/Yi.Framework/Yi.Framework.AuthenticationCenter/Program.cs b/Yi.Framework.Net5/Yi.Framework.AuthenticationCenter/Program.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.AuthenticationCenter/Program.cs
rename to Yi.Framework.Net5/Yi.Framework.AuthenticationCenter/Program.cs
diff --git a/Yi.Framework/Yi.Framework.AuthenticationCenter/Startup.cs b/Yi.Framework.Net5/Yi.Framework.AuthenticationCenter/Startup.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.AuthenticationCenter/Startup.cs
rename to Yi.Framework.Net5/Yi.Framework.AuthenticationCenter/Startup.cs
diff --git a/Yi.Framework/Yi.Framework.AuthenticationCenter/Yi.Framework.AuthenticationCenter.csproj b/Yi.Framework.Net5/Yi.Framework.AuthenticationCenter/Yi.Framework.AuthenticationCenter.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.AuthenticationCenter/Yi.Framework.AuthenticationCenter.csproj
rename to Yi.Framework.Net5/Yi.Framework.AuthenticationCenter/Yi.Framework.AuthenticationCenter.csproj
diff --git a/Yi.Framework/Yi.Framework.Common/Const/DbConst.cs b/Yi.Framework.Net5/Yi.Framework.Common/Const/DbConst.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Const/DbConst.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Const/DbConst.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Const/FileConst.cs b/Yi.Framework.Net5/Yi.Framework.Common/Const/FileConst.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Const/FileConst.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Const/FileConst.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Const/JobConst.cs b/Yi.Framework.Net5/Yi.Framework.Common/Const/JobConst.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Const/JobConst.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Const/JobConst.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Const/JwtConst.cs b/Yi.Framework.Net5/Yi.Framework.Common/Const/JwtConst.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Const/JwtConst.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Const/JwtConst.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Const/RabbitConst.cs b/Yi.Framework.Net5/Yi.Framework.Common/Const/RabbitConst.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Const/RabbitConst.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Const/RabbitConst.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Const/RedisConst.cs b/Yi.Framework.Net5/Yi.Framework.Common/Const/RedisConst.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Const/RedisConst.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Const/RedisConst.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/AssemblyHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/AssemblyHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/AssemblyHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/AssemblyHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/Base32Helper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/Base32Helper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/Base32Helper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/Base32Helper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/ConsoleHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/ConsoleHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/ConsoleHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/ConsoleHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/DateHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/DateHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/DateHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/DateHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/EmailHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/EmailHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/EmailHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/EmailHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/ExcelHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/ExcelHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/ExcelHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/ExcelHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/FileHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/FileHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/FileHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/FileHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/HtmlHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/HtmlHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/HtmlHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/HtmlHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/HttpHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/HttpHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/HttpHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/HttpHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/IpHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/IpHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/IpHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/IpHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/JsonHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/JsonHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/JsonHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/JsonHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/MD5Hepler.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/MD5Hepler.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/MD5Hepler.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/MD5Hepler.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/MimeHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/MimeHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/MimeHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/MimeHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/RSAHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/RSAHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/RSAHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/RSAHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/RandomHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/RandomHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/RandomHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/RandomHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/SerializeHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/SerializeHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/SerializeHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/SerializeHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/SnowflakeHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/SnowflakeHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/SnowflakeHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/SnowflakeHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/StringHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/StringHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/StringHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/StringHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/UnicodeHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/UnicodeHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/UnicodeHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/UnicodeHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/UrlHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/UrlHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/UrlHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/UrlHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Helper/XmlHelper.cs b/Yi.Framework.Net5/Yi.Framework.Common/Helper/XmlHelper.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Helper/XmlHelper.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Helper/XmlHelper.cs
diff --git a/Yi.Framework/Yi.Framework.Common/IOCOptions/ConsulClientOption.cs b/Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/ConsulClientOption.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/IOCOptions/ConsulClientOption.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/ConsulClientOption.cs
diff --git a/Yi.Framework/Yi.Framework.Common/IOCOptions/ConsulRegisterOption.cs b/Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/ConsulRegisterOption.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/IOCOptions/ConsulRegisterOption.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/ConsulRegisterOption.cs
diff --git a/Yi.Framework/Yi.Framework.Common/IOCOptions/ElasticSearchOptions.cs b/Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/ElasticSearchOptions.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/IOCOptions/ElasticSearchOptions.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/ElasticSearchOptions.cs
diff --git a/Yi.Framework/Yi.Framework.Common/IOCOptions/JWTTokenOptions.cs b/Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/JWTTokenOptions.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/IOCOptions/JWTTokenOptions.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/JWTTokenOptions.cs
diff --git a/Yi.Framework/Yi.Framework.Common/IOCOptions/KafkaOptions.cs b/Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/KafkaOptions.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/IOCOptions/KafkaOptions.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/KafkaOptions.cs
diff --git a/Yi.Framework/Yi.Framework.Common/IOCOptions/MySqlConnOptions.cs b/Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/MySqlConnOptions.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/IOCOptions/MySqlConnOptions.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/MySqlConnOptions.cs
diff --git a/Yi.Framework/Yi.Framework.Common/IOCOptions/RabbitMQOptions.cs b/Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/RabbitMQOptions.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/IOCOptions/RabbitMQOptions.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/RabbitMQOptions.cs
diff --git a/Yi.Framework/Yi.Framework.Common/IOCOptions/RedisConnOptions.cs b/Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/RedisConnOptions.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/IOCOptions/RedisConnOptions.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/RedisConnOptions.cs
diff --git a/Yi.Framework/Yi.Framework.Common/IOCOptions/SMSOptions.cs b/Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/SMSOptions.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/IOCOptions/SMSOptions.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/SMSOptions.cs
diff --git a/Yi.Framework/Yi.Framework.Common/IOCOptions/SqliteOptions.cs b/Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/SqliteOptions.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/IOCOptions/SqliteOptions.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/IOCOptions/SqliteOptions.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Models/AxiosUrlsModel.cs b/Yi.Framework.Net5/Yi.Framework.Common/Models/AxiosUrlsModel.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Models/AxiosUrlsModel.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Models/AxiosUrlsModel.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Models/Enum/AgrFlagEnum.cs b/Yi.Framework.Net5/Yi.Framework.Common/Models/Enum/AgrFlagEnum.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Models/Enum/AgrFlagEnum.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Models/Enum/AgrFlagEnum.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Models/Enum/DelFlagEnum.cs b/Yi.Framework.Net5/Yi.Framework.Common/Models/Enum/DelFlagEnum.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Models/Enum/DelFlagEnum.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Models/Enum/DelFlagEnum.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Models/Enum/ShowFlagEnum.cs b/Yi.Framework.Net5/Yi.Framework.Common/Models/Enum/ShowFlagEnum.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Models/Enum/ShowFlagEnum.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Models/Enum/ShowFlagEnum.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Models/Enum/TopFlagEnum.cs b/Yi.Framework.Net5/Yi.Framework.Common/Models/Enum/TopFlagEnum.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Models/Enum/TopFlagEnum.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Models/Enum/TopFlagEnum.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Models/Enum/WriteAndReadEnum.cs b/Yi.Framework.Net5/Yi.Framework.Common/Models/Enum/WriteAndReadEnum.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Models/Enum/WriteAndReadEnum.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Models/Enum/WriteAndReadEnum.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Models/JobModel.cs b/Yi.Framework.Net5/Yi.Framework.Common/Models/JobModel.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Models/JobModel.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Models/JobModel.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Models/LogModel.cs b/Yi.Framework.Net5/Yi.Framework.Common/Models/LogModel.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Models/LogModel.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Models/LogModel.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Models/PageModel.cs b/Yi.Framework.Net5/Yi.Framework.Common/Models/PageModel.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Models/PageModel.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Models/PageModel.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Models/Result.cs b/Yi.Framework.Net5/Yi.Framework.Common/Models/Result.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Models/Result.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Models/Result.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Models/SwaggerModel.cs b/Yi.Framework.Net5/Yi.Framework.Common/Models/SwaggerModel.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Models/SwaggerModel.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/Models/SwaggerModel.cs
diff --git a/Yi.Framework/Yi.Framework.Common/QueueModel/OrderCreateQueueModel.cs b/Yi.Framework.Net5/Yi.Framework.Common/QueueModel/OrderCreateQueueModel.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/QueueModel/OrderCreateQueueModel.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/QueueModel/OrderCreateQueueModel.cs
diff --git a/Yi.Framework/Yi.Framework.Common/QueueModel/SKUWarmupQueueModel.cs b/Yi.Framework.Net5/Yi.Framework.Common/QueueModel/SKUWarmupQueueModel.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/QueueModel/SKUWarmupQueueModel.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/QueueModel/SKUWarmupQueueModel.cs
diff --git a/Yi.Framework/Yi.Framework.Common/QueueModel/SMSQueueModel.cs b/Yi.Framework.Net5/Yi.Framework.Common/QueueModel/SMSQueueModel.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/QueueModel/SMSQueueModel.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/QueueModel/SMSQueueModel.cs
diff --git a/Yi.Framework/Yi.Framework.Common/QueueModel/SPUCQRSQueueModel.cs b/Yi.Framework.Net5/Yi.Framework.Common/QueueModel/SPUCQRSQueueModel.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/QueueModel/SPUCQRSQueueModel.cs
rename to Yi.Framework.Net5/Yi.Framework.Common/QueueModel/SPUCQRSQueueModel.cs
diff --git a/Yi.Framework/Yi.Framework.Common/Yi.Framework.Common.csproj b/Yi.Framework.Net5/Yi.Framework.Common/Yi.Framework.Common.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.Common/Yi.Framework.Common.csproj
rename to Yi.Framework.Net5/Yi.Framework.Common/Yi.Framework.Common.csproj
diff --git a/Yi.Framework/Yi.Framework.Core/CacheClientDB.cs b/Yi.Framework.Net5/Yi.Framework.Core/CacheClientDB.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/CacheClientDB.cs
rename to Yi.Framework.Net5/Yi.Framework.Core/CacheClientDB.cs
diff --git a/Yi.Framework/Yi.Framework.Core/ConsulExtend/ClienExtend/AbstractConsulDispatcher.cs b/Yi.Framework.Net5/Yi.Framework.Core/ConsulExtend/ClienExtend/AbstractConsulDispatcher.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/ConsulExtend/ClienExtend/AbstractConsulDispatcher.cs
rename to Yi.Framework.Net5/Yi.Framework.Core/ConsulExtend/ClienExtend/AbstractConsulDispatcher.cs
diff --git a/Yi.Framework/Yi.Framework.Core/ConsulExtend/ClienExtend/AverageDispatcher.cs b/Yi.Framework.Net5/Yi.Framework.Core/ConsulExtend/ClienExtend/AverageDispatcher.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/ConsulExtend/ClienExtend/AverageDispatcher.cs
rename to Yi.Framework.Net5/Yi.Framework.Core/ConsulExtend/ClienExtend/AverageDispatcher.cs
diff --git a/Yi.Framework/Yi.Framework.Core/ConsulExtend/ClienExtend/PollingDispatcher.cs b/Yi.Framework.Net5/Yi.Framework.Core/ConsulExtend/ClienExtend/PollingDispatcher.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/ConsulExtend/ClienExtend/PollingDispatcher.cs
rename to Yi.Framework.Net5/Yi.Framework.Core/ConsulExtend/ClienExtend/PollingDispatcher.cs
diff --git a/Yi.Framework/Yi.Framework.Core/ConsulExtend/ClienExtend/WeightDispatcher.cs b/Yi.Framework.Net5/Yi.Framework.Core/ConsulExtend/ClienExtend/WeightDispatcher.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/ConsulExtend/ClienExtend/WeightDispatcher.cs
rename to Yi.Framework.Net5/Yi.Framework.Core/ConsulExtend/ClienExtend/WeightDispatcher.cs
diff --git a/Yi.Framework/Yi.Framework.Core/ElasticSearchInvoker.cs b/Yi.Framework.Net5/Yi.Framework.Core/ElasticSearchInvoker.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/ElasticSearchInvoker.cs
rename to Yi.Framework.Net5/Yi.Framework.Core/ElasticSearchInvoker.cs
diff --git a/Yi.Framework/Yi.Framework.Core/Library/Microsoft.Bcl.AsyncInterfaces.dll b/Yi.Framework.Net5/Yi.Framework.Core/Library/Microsoft.Bcl.AsyncInterfaces.dll
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/Library/Microsoft.Bcl.AsyncInterfaces.dll
rename to Yi.Framework.Net5/Yi.Framework.Core/Library/Microsoft.Bcl.AsyncInterfaces.dll
diff --git a/Yi.Framework/Yi.Framework.Core/Library/ServiceStack.Common.dll b/Yi.Framework.Net5/Yi.Framework.Core/Library/ServiceStack.Common.dll
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/Library/ServiceStack.Common.dll
rename to Yi.Framework.Net5/Yi.Framework.Core/Library/ServiceStack.Common.dll
diff --git a/Yi.Framework/Yi.Framework.Core/Library/ServiceStack.Interfaces.dll b/Yi.Framework.Net5/Yi.Framework.Core/Library/ServiceStack.Interfaces.dll
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/Library/ServiceStack.Interfaces.dll
rename to Yi.Framework.Net5/Yi.Framework.Core/Library/ServiceStack.Interfaces.dll
diff --git a/Yi.Framework/Yi.Framework.Core/Library/ServiceStack.Redis.dll b/Yi.Framework.Net5/Yi.Framework.Core/Library/ServiceStack.Redis.dll
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/Library/ServiceStack.Redis.dll
rename to Yi.Framework.Net5/Yi.Framework.Core/Library/ServiceStack.Redis.dll
diff --git a/Yi.Framework/Yi.Framework.Core/Library/ServiceStack.Text.dll b/Yi.Framework.Net5/Yi.Framework.Core/Library/ServiceStack.Text.dll
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/Library/ServiceStack.Text.dll
rename to Yi.Framework.Net5/Yi.Framework.Core/Library/ServiceStack.Text.dll
diff --git a/Yi.Framework/Yi.Framework.Core/MakeJwt.cs b/Yi.Framework.Net5/Yi.Framework.Core/MakeJwt.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/MakeJwt.cs
rename to Yi.Framework.Net5/Yi.Framework.Core/MakeJwt.cs
diff --git a/Yi.Framework/Yi.Framework.Core/Quartz/MyQuartzFactory.cs b/Yi.Framework.Net5/Yi.Framework.Core/Quartz/MyQuartzFactory.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/Quartz/MyQuartzFactory.cs
rename to Yi.Framework.Net5/Yi.Framework.Core/Quartz/MyQuartzFactory.cs
diff --git a/Yi.Framework/Yi.Framework.Core/Quartz/QuartzInvoker.cs b/Yi.Framework.Net5/Yi.Framework.Core/Quartz/QuartzInvoker.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/Quartz/QuartzInvoker.cs
rename to Yi.Framework.Net5/Yi.Framework.Core/Quartz/QuartzInvoker.cs
diff --git a/Yi.Framework/Yi.Framework.Core/RabbitMQInvoker.cs b/Yi.Framework.Net5/Yi.Framework.Core/RabbitMQInvoker.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/RabbitMQInvoker.cs
rename to Yi.Framework.Net5/Yi.Framework.Core/RabbitMQInvoker.cs
diff --git a/Yi.Framework/Yi.Framework.Core/SMS/AliyunSMSInvoker.cs b/Yi.Framework.Net5/Yi.Framework.Core/SMS/AliyunSMSInvoker.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/SMS/AliyunSMSInvoker.cs
rename to Yi.Framework.Net5/Yi.Framework.Core/SMS/AliyunSMSInvoker.cs
diff --git a/Yi.Framework/Yi.Framework.Core/TreeMenuBuild.cs b/Yi.Framework.Net5/Yi.Framework.Core/TreeMenuBuild.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/TreeMenuBuild.cs
rename to Yi.Framework.Net5/Yi.Framework.Core/TreeMenuBuild.cs
diff --git a/Yi.Framework/Yi.Framework.Core/Yi.Framework.Core.csproj b/Yi.Framework.Net5/Yi.Framework.Core/Yi.Framework.Core.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.Core/Yi.Framework.Core.csproj
rename to Yi.Framework.Net5/Yi.Framework.Core/Yi.Framework.Core.csproj
diff --git a/Yi.Framework/Yi.Framework.DTOModel/ChangePwdDto.cs b/Yi.Framework.Net5/Yi.Framework.DTOModel/ChangePwdDto.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.DTOModel/ChangePwdDto.cs
rename to Yi.Framework.Net5/Yi.Framework.DTOModel/ChangePwdDto.cs
diff --git a/Yi.Framework/Yi.Framework.DTOModel/ChildrenDto.cs b/Yi.Framework.Net5/Yi.Framework.DTOModel/ChildrenDto.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.DTOModel/ChildrenDto.cs
rename to Yi.Framework.Net5/Yi.Framework.DTOModel/ChildrenDto.cs
diff --git a/Yi.Framework/Yi.Framework.DTOModel/IdsDto.cs b/Yi.Framework.Net5/Yi.Framework.DTOModel/IdsDto.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.DTOModel/IdsDto.cs
rename to Yi.Framework.Net5/Yi.Framework.DTOModel/IdsDto.cs
diff --git a/Yi.Framework/Yi.Framework.DTOModel/SettingDto.cs b/Yi.Framework.Net5/Yi.Framework.DTOModel/SettingDto.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.DTOModel/SettingDto.cs
rename to Yi.Framework.Net5/Yi.Framework.DTOModel/SettingDto.cs
diff --git a/Yi.Framework/Yi.Framework.DTOModel/Yi.Framework.DTOModel.csproj b/Yi.Framework.Net5/Yi.Framework.DTOModel/Yi.Framework.DTOModel.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.DTOModel/Yi.Framework.DTOModel.csproj
rename to Yi.Framework.Net5/Yi.Framework.DTOModel/Yi.Framework.DTOModel.csproj
diff --git a/Yi.Framework/Yi.Framework.ElasticSearchProcessor/InitESIndexWorker.cs b/Yi.Framework.Net5/Yi.Framework.ElasticSearchProcessor/InitESIndexWorker.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.ElasticSearchProcessor/InitESIndexWorker.cs
rename to Yi.Framework.Net5/Yi.Framework.ElasticSearchProcessor/InitESIndexWorker.cs
diff --git a/Yi.Framework/Yi.Framework.ElasticSearchProcessor/Log4net.config b/Yi.Framework.Net5/Yi.Framework.ElasticSearchProcessor/Log4net.config
similarity index 100%
rename from Yi.Framework/Yi.Framework.ElasticSearchProcessor/Log4net.config
rename to Yi.Framework.Net5/Yi.Framework.ElasticSearchProcessor/Log4net.config
diff --git a/Yi.Framework/Yi.Framework.ElasticSearchProcessor/Program.cs b/Yi.Framework.Net5/Yi.Framework.ElasticSearchProcessor/Program.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.ElasticSearchProcessor/Program.cs
rename to Yi.Framework.Net5/Yi.Framework.ElasticSearchProcessor/Program.cs
diff --git a/Yi.Framework/Yi.Framework.ElasticSearchProcessor/WarmupESIndexWorker.cs b/Yi.Framework.Net5/Yi.Framework.ElasticSearchProcessor/WarmupESIndexWorker.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.ElasticSearchProcessor/WarmupESIndexWorker.cs
rename to Yi.Framework.Net5/Yi.Framework.ElasticSearchProcessor/WarmupESIndexWorker.cs
diff --git a/Yi.Framework/Yi.Framework.ElasticSearchProcessor/Worker.cs b/Yi.Framework.Net5/Yi.Framework.ElasticSearchProcessor/Worker.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.ElasticSearchProcessor/Worker.cs
rename to Yi.Framework.Net5/Yi.Framework.ElasticSearchProcessor/Worker.cs
diff --git a/Yi.Framework/Yi.Framework.ElasticSearchProcessor/Yi.Framework.ElasticSearchProcessor.csproj b/Yi.Framework.Net5/Yi.Framework.ElasticSearchProcessor/Yi.Framework.ElasticSearchProcessor.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.ElasticSearchProcessor/Yi.Framework.ElasticSearchProcessor.csproj
rename to Yi.Framework.Net5/Yi.Framework.ElasticSearchProcessor/Yi.Framework.ElasticSearchProcessor.csproj
diff --git a/Yi.Framework/Yi.Framework.Interface/IBaseService.cs b/Yi.Framework.Net5/Yi.Framework.Interface/IBaseService.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Interface/IBaseService.cs
rename to Yi.Framework.Net5/Yi.Framework.Interface/IBaseService.cs
diff --git a/Yi.Framework/Yi.Framework.Interface/IMenuService.cs b/Yi.Framework.Net5/Yi.Framework.Interface/IMenuService.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Interface/IMenuService.cs
rename to Yi.Framework.Net5/Yi.Framework.Interface/IMenuService.cs
diff --git a/Yi.Framework/Yi.Framework.Interface/IMouldService.cs b/Yi.Framework.Net5/Yi.Framework.Interface/IMouldService.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Interface/IMouldService.cs
rename to Yi.Framework.Net5/Yi.Framework.Interface/IMouldService.cs
diff --git a/Yi.Framework/Yi.Framework.Interface/IRoleService.cs b/Yi.Framework.Net5/Yi.Framework.Interface/IRoleService.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Interface/IRoleService.cs
rename to Yi.Framework.Net5/Yi.Framework.Interface/IRoleService.cs
diff --git a/Yi.Framework/Yi.Framework.Interface/IUserService.cs b/Yi.Framework.Net5/Yi.Framework.Interface/IUserService.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Interface/IUserService.cs
rename to Yi.Framework.Net5/Yi.Framework.Interface/IUserService.cs
diff --git a/Yi.Framework/Yi.Framework.Interface/T4Iservice.cs b/Yi.Framework.Net5/Yi.Framework.Interface/T4Iservice.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Interface/T4Iservice.cs
rename to Yi.Framework.Net5/Yi.Framework.Interface/T4Iservice.cs
diff --git a/Yi.Framework/Yi.Framework.Interface/T4Iservice.tt b/Yi.Framework.Net5/Yi.Framework.Interface/T4Iservice.tt
similarity index 100%
rename from Yi.Framework/Yi.Framework.Interface/T4Iservice.tt
rename to Yi.Framework.Net5/Yi.Framework.Interface/T4Iservice.tt
diff --git a/Yi.Framework/Yi.Framework.Interface/Yi - Backup.Framework.Interface.csproj b/Yi.Framework.Net5/Yi.Framework.Interface/Yi - Backup.Framework.Interface.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.Interface/Yi - Backup.Framework.Interface.csproj
rename to Yi.Framework.Net5/Yi.Framework.Interface/Yi - Backup.Framework.Interface.csproj
diff --git a/Yi.Framework/Yi.Framework.Interface/Yi.Framework.Interface.csproj b/Yi.Framework.Net5/Yi.Framework.Interface/Yi.Framework.Interface.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.Interface/Yi.Framework.Interface.csproj
rename to Yi.Framework.Net5/Yi.Framework.Interface/Yi.Framework.Interface.csproj
diff --git a/Yi.Framework/Yi.Framework.MSUnitTest/UnitTest1.cs b/Yi.Framework.Net5/Yi.Framework.MSUnitTest/UnitTest1.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.MSUnitTest/UnitTest1.cs
rename to Yi.Framework.Net5/Yi.Framework.MSUnitTest/UnitTest1.cs
diff --git a/Yi.Framework/Yi.Framework.MSUnitTest/Yi.Framework.MSUnitTest.csproj b/Yi.Framework.Net5/Yi.Framework.MSUnitTest/Yi.Framework.MSUnitTest.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.MSUnitTest/Yi.Framework.MSUnitTest.csproj
rename to Yi.Framework.Net5/Yi.Framework.MSUnitTest/Yi.Framework.MSUnitTest.csproj
diff --git a/Yi.Framework/Yi.Framework.Model/BaseModels/baseModel.cs b/Yi.Framework.Net5/Yi.Framework.Model/BaseModels/baseModel.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/BaseModels/baseModel.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/BaseModels/baseModel.cs
diff --git a/Yi.Framework/Yi.Framework.Model/BaseModels/loopModel.cs b/Yi.Framework.Net5/Yi.Framework.Model/BaseModels/loopModel.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/BaseModels/loopModel.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/BaseModels/loopModel.cs
diff --git a/Yi.Framework/Yi.Framework.Model/DataContext.cs b/Yi.Framework.Net5/Yi.Framework.Model/DataContext.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/DataContext.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/DataContext.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Migrations/20211106080544_ec1.Designer.cs b/Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106080544_ec1.Designer.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Migrations/20211106080544_ec1.Designer.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106080544_ec1.Designer.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Migrations/20211106080544_ec1.cs b/Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106080544_ec1.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Migrations/20211106080544_ec1.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106080544_ec1.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Migrations/20211106080646_ec2.Designer.cs b/Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106080646_ec2.Designer.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Migrations/20211106080646_ec2.Designer.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106080646_ec2.Designer.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Migrations/20211106080646_ec2.cs b/Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106080646_ec2.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Migrations/20211106080646_ec2.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106080646_ec2.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Migrations/20211106082100_yi-1.Designer.cs b/Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106082100_yi-1.Designer.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Migrations/20211106082100_yi-1.Designer.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106082100_yi-1.Designer.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Migrations/20211106082100_yi-1.cs b/Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106082100_yi-1.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Migrations/20211106082100_yi-1.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106082100_yi-1.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Migrations/20211106084427_ec3.Designer.cs b/Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106084427_ec3.Designer.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Migrations/20211106084427_ec3.Designer.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106084427_ec3.Designer.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Migrations/20211106084427_ec3.cs b/Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106084427_ec3.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Migrations/20211106084427_ec3.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106084427_ec3.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Migrations/20211106110713_ec4.Designer.cs b/Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106110713_ec4.Designer.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Migrations/20211106110713_ec4.Designer.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106110713_ec4.Designer.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Migrations/20211106110713_ec4.cs b/Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106110713_ec4.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Migrations/20211106110713_ec4.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Migrations/20211106110713_ec4.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Migrations/DataContextModelSnapshot.cs b/Yi.Framework.Net5/Yi.Framework.Model/Migrations/DataContextModelSnapshot.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Migrations/DataContextModelSnapshot.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Migrations/DataContextModelSnapshot.cs
diff --git a/Yi.Framework/Yi.Framework.Model/ModelFactory/DbContextExtend.cs b/Yi.Framework.Net5/Yi.Framework.Model/ModelFactory/DbContextExtend.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/ModelFactory/DbContextExtend.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/ModelFactory/DbContextExtend.cs
diff --git a/Yi.Framework/Yi.Framework.Model/ModelFactory/DbContextFactory.cs b/Yi.Framework.Net5/Yi.Framework.Model/ModelFactory/DbContextFactory.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/ModelFactory/DbContextFactory.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/ModelFactory/DbContextFactory.cs
diff --git a/Yi.Framework/Yi.Framework.Model/ModelFactory/IDbContextFactory.cs b/Yi.Framework.Net5/Yi.Framework.Model/ModelFactory/IDbContextFactory.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/ModelFactory/IDbContextFactory.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/ModelFactory/IDbContextFactory.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Models/menu.cs b/Yi.Framework.Net5/Yi.Framework.Model/Models/menu.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Models/menu.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Models/menu.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Models/mould.cs b/Yi.Framework.Net5/Yi.Framework.Model/Models/mould.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Models/mould.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Models/mould.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Models/role.cs b/Yi.Framework.Net5/Yi.Framework.Model/Models/role.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Models/role.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Models/role.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Models/user.cs b/Yi.Framework.Net5/Yi.Framework.Model/Models/user.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Models/user.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Models/user.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Models/visit.cs b/Yi.Framework.Net5/Yi.Framework.Model/Models/visit.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Models/visit.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Models/visit.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Search/PageResult.cs b/Yi.Framework.Net5/Yi.Framework.Model/Search/PageResult.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Search/PageResult.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Search/PageResult.cs
diff --git a/Yi.Framework/Yi.Framework.Model/Search/SearchRequest.cs b/Yi.Framework.Net5/Yi.Framework.Model/Search/SearchRequest.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Search/SearchRequest.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/Search/SearchRequest.cs
diff --git a/Yi.Framework/Yi.Framework.Model/T4DataContext.cs b/Yi.Framework.Net5/Yi.Framework.Model/T4DataContext.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/T4DataContext.cs
rename to Yi.Framework.Net5/Yi.Framework.Model/T4DataContext.cs
diff --git a/Yi.Framework/Yi.Framework.Model/T4DataContext.tt b/Yi.Framework.Net5/Yi.Framework.Model/T4DataContext.tt
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/T4DataContext.tt
rename to Yi.Framework.Net5/Yi.Framework.Model/T4DataContext.tt
diff --git a/Yi.Framework/Yi.Framework.Model/Yi - Backup (1).Framework.Model.csproj b/Yi.Framework.Net5/Yi.Framework.Model/Yi - Backup (1).Framework.Model.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Yi - Backup (1).Framework.Model.csproj
rename to Yi.Framework.Net5/Yi.Framework.Model/Yi - Backup (1).Framework.Model.csproj
diff --git a/Yi.Framework/Yi.Framework.Model/Yi - Backup.Framework.Model.csproj b/Yi.Framework.Net5/Yi.Framework.Model/Yi - Backup.Framework.Model.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Yi - Backup.Framework.Model.csproj
rename to Yi.Framework.Net5/Yi.Framework.Model/Yi - Backup.Framework.Model.csproj
diff --git a/Yi.Framework/Yi.Framework.Model/Yi.Framework.Model.csproj b/Yi.Framework.Net5/Yi.Framework.Model/Yi.Framework.Model.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.Model/Yi.Framework.Model.csproj
rename to Yi.Framework.Net5/Yi.Framework.Model/Yi.Framework.Model.csproj
diff --git a/Yi.Framework/Yi.Framework.OcelotGateway/Log4net.config b/Yi.Framework.Net5/Yi.Framework.OcelotGateway/Log4net.config
similarity index 100%
rename from Yi.Framework/Yi.Framework.OcelotGateway/Log4net.config
rename to Yi.Framework.Net5/Yi.Framework.OcelotGateway/Log4net.config
diff --git a/Yi.Framework/Yi.Framework.OcelotGateway/Program.cs b/Yi.Framework.Net5/Yi.Framework.OcelotGateway/Program.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.OcelotGateway/Program.cs
rename to Yi.Framework.Net5/Yi.Framework.OcelotGateway/Program.cs
diff --git a/Yi.Framework/Yi.Framework.OcelotGateway/Startup.cs b/Yi.Framework.Net5/Yi.Framework.OcelotGateway/Startup.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.OcelotGateway/Startup.cs
rename to Yi.Framework.Net5/Yi.Framework.OcelotGateway/Startup.cs
diff --git a/Yi.Framework.Net5/Yi.Framework.OcelotGateway/SwaggerDoc.xml b/Yi.Framework.Net5/Yi.Framework.OcelotGateway/SwaggerDoc.xml
new file mode 100644
index 00000000..16f3de1b
--- /dev/null
+++ b/Yi.Framework.Net5/Yi.Framework.OcelotGateway/SwaggerDoc.xml
@@ -0,0 +1,8 @@
+
+
+
+ Yi.Framework.OcelotGateway
+
+
+
+
diff --git a/Yi.Framework/Yi.Framework.OcelotGateway/Yi.Framework.OcelotGateway.csproj b/Yi.Framework.Net5/Yi.Framework.OcelotGateway/Yi.Framework.OcelotGateway.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.OcelotGateway/Yi.Framework.OcelotGateway.csproj
rename to Yi.Framework.Net5/Yi.Framework.OcelotGateway/Yi.Framework.OcelotGateway.csproj
diff --git a/Yi.Framework/Yi.Framework.PageDetail/Controllers/PageDetaiController.cs b/Yi.Framework.Net5/Yi.Framework.PageDetail/Controllers/PageDetaiController.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.PageDetail/Controllers/PageDetaiController.cs
rename to Yi.Framework.Net5/Yi.Framework.PageDetail/Controllers/PageDetaiController.cs
diff --git a/Yi.Framework/Yi.Framework.PageDetail/Log4net.config b/Yi.Framework.Net5/Yi.Framework.PageDetail/Log4net.config
similarity index 100%
rename from Yi.Framework/Yi.Framework.PageDetail/Log4net.config
rename to Yi.Framework.Net5/Yi.Framework.PageDetail/Log4net.config
diff --git a/Yi.Framework/Yi.Framework.PageDetail/Program.cs b/Yi.Framework.Net5/Yi.Framework.PageDetail/Program.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.PageDetail/Program.cs
rename to Yi.Framework.Net5/Yi.Framework.PageDetail/Program.cs
diff --git a/Yi.Framework/Yi.Framework.PageDetail/Startup.cs b/Yi.Framework.Net5/Yi.Framework.PageDetail/Startup.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.PageDetail/Startup.cs
rename to Yi.Framework.Net5/Yi.Framework.PageDetail/Startup.cs
diff --git a/Yi.Framework.Net5/Yi.Framework.PageDetail/SwaggerDoc.xml b/Yi.Framework.Net5/Yi.Framework.PageDetail/SwaggerDoc.xml
new file mode 100644
index 00000000..f7714016
--- /dev/null
+++ b/Yi.Framework.Net5/Yi.Framework.PageDetail/SwaggerDoc.xml
@@ -0,0 +1,8 @@
+
+
+
+ Yi.Framework.PageDetail
+
+
+
+
diff --git a/Yi.Framework/Yi.Framework.PageDetail/Views/PageDetai/Index.cshtml b/Yi.Framework.Net5/Yi.Framework.PageDetail/Views/PageDetai/Index.cshtml
similarity index 100%
rename from Yi.Framework/Yi.Framework.PageDetail/Views/PageDetai/Index.cshtml
rename to Yi.Framework.Net5/Yi.Framework.PageDetail/Views/PageDetai/Index.cshtml
diff --git a/Yi.Framework/Yi.Framework.PageDetail/Views/Shared/_ValidationScriptsPartial.cshtml b/Yi.Framework.Net5/Yi.Framework.PageDetail/Views/Shared/_ValidationScriptsPartial.cshtml
similarity index 100%
rename from Yi.Framework/Yi.Framework.PageDetail/Views/Shared/_ValidationScriptsPartial.cshtml
rename to Yi.Framework.Net5/Yi.Framework.PageDetail/Views/Shared/_ValidationScriptsPartial.cshtml
diff --git a/Yi.Framework/Yi.Framework.PageDetail/Yi.Framework.PageDetail.csproj b/Yi.Framework.Net5/Yi.Framework.PageDetail/Yi.Framework.PageDetail.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.PageDetail/Yi.Framework.PageDetail.csproj
rename to Yi.Framework.Net5/Yi.Framework.PageDetail/Yi.Framework.PageDetail.csproj
diff --git a/Yi.Framework/Yi.Framework.SMSProcessor/Log4net.config b/Yi.Framework.Net5/Yi.Framework.SMSProcessor/Log4net.config
similarity index 100%
rename from Yi.Framework/Yi.Framework.SMSProcessor/Log4net.config
rename to Yi.Framework.Net5/Yi.Framework.SMSProcessor/Log4net.config
diff --git a/Yi.Framework/Yi.Framework.SMSProcessor/Program.cs b/Yi.Framework.Net5/Yi.Framework.SMSProcessor/Program.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.SMSProcessor/Program.cs
rename to Yi.Framework.Net5/Yi.Framework.SMSProcessor/Program.cs
diff --git a/Yi.Framework/Yi.Framework.SMSProcessor/SendWorker.cs b/Yi.Framework.Net5/Yi.Framework.SMSProcessor/SendWorker.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.SMSProcessor/SendWorker.cs
rename to Yi.Framework.Net5/Yi.Framework.SMSProcessor/SendWorker.cs
diff --git a/Yi.Framework/Yi.Framework.SMSProcessor/Worker.cs b/Yi.Framework.Net5/Yi.Framework.SMSProcessor/Worker.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.SMSProcessor/Worker.cs
rename to Yi.Framework.Net5/Yi.Framework.SMSProcessor/Worker.cs
diff --git a/Yi.Framework/Yi.Framework.SMSProcessor/Yi.Framework.SMSProcessor.csproj b/Yi.Framework.Net5/Yi.Framework.SMSProcessor/Yi.Framework.SMSProcessor.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.SMSProcessor/Yi.Framework.SMSProcessor.csproj
rename to Yi.Framework.Net5/Yi.Framework.SMSProcessor/Yi.Framework.SMSProcessor.csproj
diff --git a/Yi.Framework/Yi.Framework.Service/BaseService.cs b/Yi.Framework.Net5/Yi.Framework.Service/BaseService.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Service/BaseService.cs
rename to Yi.Framework.Net5/Yi.Framework.Service/BaseService.cs
diff --git a/Yi.Framework/Yi.Framework.Service/MenuService.cs b/Yi.Framework.Net5/Yi.Framework.Service/MenuService.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Service/MenuService.cs
rename to Yi.Framework.Net5/Yi.Framework.Service/MenuService.cs
diff --git a/Yi.Framework/Yi.Framework.Service/MouldService.cs b/Yi.Framework.Net5/Yi.Framework.Service/MouldService.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Service/MouldService.cs
rename to Yi.Framework.Net5/Yi.Framework.Service/MouldService.cs
diff --git a/Yi.Framework/Yi.Framework.Service/RoleService.cs b/Yi.Framework.Net5/Yi.Framework.Service/RoleService.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Service/RoleService.cs
rename to Yi.Framework.Net5/Yi.Framework.Service/RoleService.cs
diff --git a/Yi.Framework/Yi.Framework.Service/T4Service.cs b/Yi.Framework.Net5/Yi.Framework.Service/T4Service.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Service/T4Service.cs
rename to Yi.Framework.Net5/Yi.Framework.Service/T4Service.cs
diff --git a/Yi.Framework/Yi.Framework.Service/T4Service.tt b/Yi.Framework.Net5/Yi.Framework.Service/T4Service.tt
similarity index 100%
rename from Yi.Framework/Yi.Framework.Service/T4Service.tt
rename to Yi.Framework.Net5/Yi.Framework.Service/T4Service.tt
diff --git a/Yi.Framework/Yi.Framework.Service/UserService.cs b/Yi.Framework.Net5/Yi.Framework.Service/UserService.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Service/UserService.cs
rename to Yi.Framework.Net5/Yi.Framework.Service/UserService.cs
diff --git a/Yi.Framework/Yi.Framework.Service/Yi - Backup.Framework.Service.csproj b/Yi.Framework.Net5/Yi.Framework.Service/Yi - Backup.Framework.Service.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.Service/Yi - Backup.Framework.Service.csproj
rename to Yi.Framework.Net5/Yi.Framework.Service/Yi - Backup.Framework.Service.csproj
diff --git a/Yi.Framework/Yi.Framework.Service/Yi.Framework.Service.csproj b/Yi.Framework.Net5/Yi.Framework.Service/Yi.Framework.Service.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.Service/Yi.Framework.Service.csproj
rename to Yi.Framework.Net5/Yi.Framework.Service/Yi.Framework.Service.csproj
diff --git a/Yi.Framework/Yi.Framework.StaticPageProcessor/InitPageWorker.cs b/Yi.Framework.Net5/Yi.Framework.StaticPageProcessor/InitPageWorker.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.StaticPageProcessor/InitPageWorker.cs
rename to Yi.Framework.Net5/Yi.Framework.StaticPageProcessor/InitPageWorker.cs
diff --git a/Yi.Framework/Yi.Framework.StaticPageProcessor/Log4net.config b/Yi.Framework.Net5/Yi.Framework.StaticPageProcessor/Log4net.config
similarity index 100%
rename from Yi.Framework/Yi.Framework.StaticPageProcessor/Log4net.config
rename to Yi.Framework.Net5/Yi.Framework.StaticPageProcessor/Log4net.config
diff --git a/Yi.Framework/Yi.Framework.StaticPageProcessor/Program.cs b/Yi.Framework.Net5/Yi.Framework.StaticPageProcessor/Program.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.StaticPageProcessor/Program.cs
rename to Yi.Framework.Net5/Yi.Framework.StaticPageProcessor/Program.cs
diff --git a/Yi.Framework/Yi.Framework.StaticPageProcessor/WarmupPageWorker.cs b/Yi.Framework.Net5/Yi.Framework.StaticPageProcessor/WarmupPageWorker.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.StaticPageProcessor/WarmupPageWorker.cs
rename to Yi.Framework.Net5/Yi.Framework.StaticPageProcessor/WarmupPageWorker.cs
diff --git a/Yi.Framework/Yi.Framework.StaticPageProcessor/Worker.cs b/Yi.Framework.Net5/Yi.Framework.StaticPageProcessor/Worker.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.StaticPageProcessor/Worker.cs
rename to Yi.Framework.Net5/Yi.Framework.StaticPageProcessor/Worker.cs
diff --git a/Yi.Framework/Yi.Framework.StaticPageProcessor/Yi.Framework.StaticPageProcessor.csproj b/Yi.Framework.Net5/Yi.Framework.StaticPageProcessor/Yi.Framework.StaticPageProcessor.csproj
similarity index 94%
rename from Yi.Framework/Yi.Framework.StaticPageProcessor/Yi.Framework.StaticPageProcessor.csproj
rename to Yi.Framework.Net5/Yi.Framework.StaticPageProcessor/Yi.Framework.StaticPageProcessor.csproj
index b42904f3..8cb7cd48 100644
--- a/Yi.Framework/Yi.Framework.StaticPageProcessor/Yi.Framework.StaticPageProcessor.csproj
+++ b/Yi.Framework.Net5/Yi.Framework.StaticPageProcessor/Yi.Framework.StaticPageProcessor.csproj
@@ -2,6 +2,7 @@
net5.0
+ Exe
diff --git a/Yi.Framework/Yi.Framework.Task/HttpJob.cs b/Yi.Framework.Net5/Yi.Framework.Task/HttpJob.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Task/HttpJob.cs
rename to Yi.Framework.Net5/Yi.Framework.Task/HttpJob.cs
diff --git a/Yi.Framework/Yi.Framework.Task/VisitJob.cs b/Yi.Framework.Net5/Yi.Framework.Task/VisitJob.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.Task/VisitJob.cs
rename to Yi.Framework.Net5/Yi.Framework.Task/VisitJob.cs
diff --git a/Yi.Framework/Yi.Framework.Task/Yi.Framework.Job.csproj b/Yi.Framework.Net5/Yi.Framework.Task/Yi.Framework.Job.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.Task/Yi.Framework.Job.csproj
rename to Yi.Framework.Net5/Yi.Framework.Task/Yi.Framework.Job.csproj
diff --git a/Yi.Framework/Yi.Framework.WebCore/Appsettings.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/Appsettings.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/Appsettings.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/Appsettings.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/BuilderExtend/ApolloExtension.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/BuilderExtend/ApolloExtension.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/BuilderExtend/ApolloExtension.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/BuilderExtend/ApolloExtension.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/BuilderExtend/JsonExtension.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/BuilderExtend/JsonExtension.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/BuilderExtend/JsonExtension.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/BuilderExtend/JsonExtension.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/BuilderExtend/JsonFileExtension.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/BuilderExtend/JsonFileExtension.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/BuilderExtend/JsonFileExtension.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/BuilderExtend/JsonFileExtension.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/CommonExtend.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/CommonExtend.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/CommonExtend.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/CommonExtend.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/FilterExtend/CORSFilter.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CORSFilter.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/FilterExtend/CORSFilter.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CORSFilter.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/FilterExtend/CustomAction2CommitFilterAttribute.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CustomAction2CommitFilterAttribute.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/FilterExtend/CustomAction2CommitFilterAttribute.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CustomAction2CommitFilterAttribute.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/FilterExtend/CustomActionCacheFilterAttribute.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CustomActionCacheFilterAttribute.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/FilterExtend/CustomActionCacheFilterAttribute.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CustomActionCacheFilterAttribute.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/FilterExtend/CustomActionCheckFilterAttribute.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CustomActionCheckFilterAttribute.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/FilterExtend/CustomActionCheckFilterAttribute.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CustomActionCheckFilterAttribute.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/FilterExtend/CustomExceptionFilterAttribute.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CustomExceptionFilterAttribute.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/FilterExtend/CustomExceptionFilterAttribute.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CustomExceptionFilterAttribute.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/FilterExtend/CustomIOCFilterFactoryAttribute.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CustomIOCFilterFactoryAttribute.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/FilterExtend/CustomIOCFilterFactoryAttribute.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CustomIOCFilterFactoryAttribute.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/FilterExtend/CustomResourceFilterAttribute.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CustomResourceFilterAttribute.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/FilterExtend/CustomResourceFilterAttribute.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CustomResourceFilterAttribute.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/FilterExtend/LogActionFilterAttribute.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/LogActionFilterAttribute.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/FilterExtend/LogActionFilterAttribute.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/LogActionFilterAttribute.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/Init/DataSeed.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/Init/DataSeed.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/Init/DataSeed.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/Init/DataSeed.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/Init/RedisInit.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/Init/RedisInit.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/Init/RedisInit.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/Init/RedisInit.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/CAPExtend.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/CAPExtend.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/CAPExtend.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/CAPExtend.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/ConsulRegiterExtend.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/ConsulRegiterExtend.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/ConsulRegiterExtend.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/ConsulRegiterExtend.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/CorsExtension.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/CorsExtension.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/CorsExtension.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/CorsExtension.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/DbExtend.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/DbExtend.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/DbExtend.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/DbExtend.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/DbSeedInitExtend.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/DbSeedInitExtend.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/DbSeedInitExtend.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/DbSeedInitExtend.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/ElasticSeachExtend.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/ElasticSeachExtend.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/ElasticSeachExtend.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/ElasticSeachExtend.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/ErrorHandExtension.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/ErrorHandExtension.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/ErrorHandExtension.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/ErrorHandExtension.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/HealthCheckExtension.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/HealthCheckExtension.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/HealthCheckExtension.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/HealthCheckExtension.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/IocExtension.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/IocExtension.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/IocExtension.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/IocExtension.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/JwtExtension.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/JwtExtension.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/JwtExtension.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/JwtExtension.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/PreOptionRequestExtension.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/PreOptionRequestExtension.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/PreOptionRequestExtension.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/PreOptionRequestExtension.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/QuartzExtensions.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/QuartzExtensions.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/QuartzExtensions.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/QuartzExtensions.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/RabbitMQExtension.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/RabbitMQExtension.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/RabbitMQExtension.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/RabbitMQExtension.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/RedisExtension.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/RedisExtension.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/RedisExtension.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/RedisExtension.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/RedisInitExtend.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/RedisInitExtend.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/RedisInitExtend.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/RedisInitExtend.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/SMSExtension.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/SMSExtension.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/SMSExtension.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/SMSExtension.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/StaticPageExtension.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/StaticPageExtension.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/StaticPageExtension.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/StaticPageExtension.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/SwaggerExtension.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/SwaggerExtension.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/MiddlewareExtend/SwaggerExtension.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/MiddlewareExtend/SwaggerExtension.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/Utility/CustomAutofacAop.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/Utility/CustomAutofacAop.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/Utility/CustomAutofacAop.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/Utility/CustomAutofacAop.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/Utility/CustomAutofacModule.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/Utility/CustomAutofacModule.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/Utility/CustomAutofacModule.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/Utility/CustomAutofacModule.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/Utility/CustomHostingStartup.cs b/Yi.Framework.Net5/Yi.Framework.WebCore/Utility/CustomHostingStartup.cs
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/Utility/CustomHostingStartup.cs
rename to Yi.Framework.Net5/Yi.Framework.WebCore/Utility/CustomHostingStartup.cs
diff --git a/Yi.Framework/Yi.Framework.WebCore/Yi.Framework.WebCore.csproj b/Yi.Framework.Net5/Yi.Framework.WebCore/Yi.Framework.WebCore.csproj
similarity index 100%
rename from Yi.Framework/Yi.Framework.WebCore/Yi.Framework.WebCore.csproj
rename to Yi.Framework.Net5/Yi.Framework.WebCore/Yi.Framework.WebCore.csproj
diff --git a/Yi.Framework/Yi.Framework.sln b/Yi.Framework.Net5/Yi.Framework.sln
similarity index 100%
rename from Yi.Framework/Yi.Framework.sln
rename to Yi.Framework.Net5/Yi.Framework.sln
diff --git a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/AccountController.cs b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/AccountController.cs
new file mode 100644
index 00000000..32d475a2
--- /dev/null
+++ b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/AccountController.cs
@@ -0,0 +1,222 @@
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Logging;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using Yi.Framework.Common;
+using Yi.Framework.Common.Const;
+using Yi.Framework.Common.Helper;
+using Yi.Framework.Common.Models;
+using Yi.Framework.Common.QueueModel;
+using Yi.Framework.Core;
+using Yi.Framework.DTOModel;
+using Yi.Framework.Interface;
+using Yi.Framework.Model.Models;
+using Yi.Framework.WebCore;
+
+namespace Yi.Framework.ApiMicroservice.Controllers
+{
+ [ApiController]
+ [Route("api/[controller]/[action]")]
+ public class AccountController : Controller
+ {
+ private readonly ILogger _logger;
+
+ private IUserService _userService;
+ private IMenuService _menuService;
+ private RabbitMQInvoker _rabbitMQInvoker;
+ private CacheClientDB _cacheClientDB;
+ private IRoleService _roleService;
+ private IHttpContextAccessor _httpContext;
+ public AccountController(ILogger logger, IUserService userService, IMenuService menuService,RabbitMQInvoker rabbitMQInvoker,CacheClientDB cacheClientDB, IRoleService roleService, IHttpContextAccessor httpContext)
+ {
+ _logger = logger;
+ _userService = userService;
+ _menuService = menuService;
+ _rabbitMQInvoker = rabbitMQInvoker;
+ _cacheClientDB = cacheClientDB;
+ _roleService = roleService;
+ _httpContext = httpContext;
+ }
+
+
+ ///
+ /// 登录方法,要返回data:{user,token} token
+ ///
+ ///
+ ///
+ [HttpPost]
+ public async Task Login(user _user)
+ {
+ var user_data = await _userService.Login(_user);
+ if (user_data == null)
+ {
+ return Result.Error("该用户不存在");
+ }
+ var menuList = await _menuService.GetTopMenuByUserId(user_data.id);
+ if ( user_data!=null)
+ {
+ var token = MakeJwt.app(new jwtUser() {user=user_data,menuIds= menuList});
+
+ JobModel.visitNum += 1;
+ return Result.Success().SetData(new { user = new { user_data.id, user_data.username, user_data.introduction, user_data.icon, user_data.nick }, token });
+ }
+ return Result.Error();
+ }
+
+ ///
+ /// 不用写,单纯制作日志
+ ///
+ ///
+ [HttpPost]
+ public Result Logout()
+ {
+ return Result.Success();
+ }
+
+ ///
+ /// code为验证码,从redis中判断一下code是否正确
+ ///
+ ///
+ ///
+ ///
+ [HttpPost]
+ public async Task Register(user _user, string code)
+ {
+ _user.username=_user.username.Trim();
+ if(string.IsNullOrEmpty(_user.username))
+ code = code.Trim();
+
+ string trueCode= _cacheClientDB.Get(RedisConst.keyCode + _user.phone);
+ if (code == trueCode)
+ {
+ //设置默认头像
+ var setting = JsonHelper.StrToObj(_cacheClientDB.Get(RedisConst.key));
+ _user.icon = setting.InitIcon;
+ _user.ip = _httpContext.HttpContext.Request.Headers["X-Real-IP"].FirstOrDefault();//通过上下文获取ip
+ //设置默认角色
+ if (string.IsNullOrEmpty(setting.InitRole))
+ {
+ return Result.Error("无默认角色,请初始化数据库");
+ }
+ _user.roles = new List();
+ _user.roles.Add(await _roleService.GetEntity(u => u.role_name == setting.InitRole));
+ await _userService.Register(_user);
+
+ return Result.Success("恭喜,你已加入我们!");
+ }
+ return Result.Error("验证码有误,请重新输入!");
+ }
+
+
+ ///
+ /// 发送短信,需要将生成的sms+code存入redis
+ ///
+ ///
+ ///
+ [HttpPost]
+ public async Task SendSMS(string SMSAddress)
+ {
+ if (string.IsNullOrEmpty(SMSAddress))
+ {
+ return Result.Error("请输入电话号码");
+ }
+ SMSAddress = SMSAddress.Trim();
+ if (!await _userService.PhoneIsExsit(SMSAddress))
+ {
+ SMSQueueModel sMSQueueModel = new SMSQueueModel();
+ sMSQueueModel.phone = SMSAddress;
+ sMSQueueModel.code =RandomHelper.GenerateCheckCodeNum(6);
+
+ //10分钟过期
+ _cacheClientDB.Set(RedisConst.keyCode+sMSQueueModel.phone, sMSQueueModel.code, TimeSpan.FromMinutes(10));
+
+ _rabbitMQInvoker.Send(new Common.IOCOptions.RabbitMQConsumerModel() { ExchangeName = RabbitConst.SMS_Exchange, QueueName = RabbitConst.SMS_Queue_Send }, JsonHelper.ObjToStr(sMSQueueModel));
+ return Result.Success("发送短信成功,10分钟后过期,请留意短信接收");
+ }
+ return Result.Error("该号码已被注册");
+ }
+
+ ///
+ /// 发送邮箱,需要先到数据库判断该邮箱是否被人注册过,到userservice写mail_exist方法,还有接口别忘了。
+ ///
+ ///
+ ///
+ [HttpPost]//邮箱验证
+ public async Task Email(string emailAddress)
+ {
+ emailAddress = emailAddress.Trim().ToLower();
+ //先判断邮箱是否被注册使用过,如果被使用过,便不让操作
+ if (!await _userService.EmailIsExsit(emailAddress))
+ {
+ string code = RandomHelper.GenerateRandomLetter(6);
+ code = code.ToUpper();//全部转为大写
+ EmailHelper.sendMail(code, emailAddress);
+
+ //我要把邮箱和对应的code加进到数据库,还有申请时间
+ //设置10分钟过期
+ //set不存在便添加,如果存在便替换
+ //CacheHelper.SetCache(emailAddress, code, TimeSpan.FromSeconds(10));
+
+ return Result.Success("发送邮件成功,请查看邮箱(可能在垃圾箱)");
+ }
+ else
+ {
+ return Result.Error("该邮箱已被注册");
+ }
+ // 邮箱和验证码都要被记住,然后注册时候比对邮箱和验证码是不是都和现在生成的一样
+ }
+ ///
+ /// 修改密码
+ ///
+ ///
+ ///
+ [HttpPut]
+ [Authorize]
+ public async Task ChangePassword(ChangePwdDto pwdDto)
+ {
+ var user_data = await _userService.GetUserById(pwdDto.user.id);
+ string msg = "修改成功";
+ if (! string.IsNullOrEmpty( pwdDto.newPassword))
+ {
+ if (user_data.password == pwdDto.user.password)
+ {
+
+ user_data.password = pwdDto.newPassword;
+ user_data.phone = pwdDto.user.phone;
+ user_data.introduction = pwdDto.user.introduction;
+ user_data.email = pwdDto.user.email;
+ user_data.age = pwdDto.user.age;
+ user_data.address = pwdDto.user.address;
+ user_data.nick = pwdDto.user.nick;
+
+
+ await _userService.UpdateAsync(user_data);
+ user_data.password = null;
+ return Result.Success(msg);
+ }
+ else
+ {
+ msg = "密码错误";
+ return Result.Error(msg);
+ }
+ }
+
+ user_data.phone = pwdDto.user.phone;
+ user_data.introduction = pwdDto.user.introduction;
+ user_data.email = pwdDto.user.email;
+ user_data.age = pwdDto.user.age;
+ user_data.address = pwdDto.user.address;
+ user_data.nick = pwdDto.user.nick;
+
+ await _userService.UpdateAsync(user_data);
+
+
+ return Result.Success(msg);
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/FileController.cs b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/FileController.cs
new file mode 100644
index 00000000..8dcae4c7
--- /dev/null
+++ b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/FileController.cs
@@ -0,0 +1,92 @@
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Hosting;
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Threading.Tasks;
+using Yi.Framework.Common.Models;
+using Yi.Framework.Interface;
+using Yi.Framework.WebCore;
+
+namespace Yi.Framework.ApiMicroservice.Controllers
+{
+ [Route("api/[controller]/[action]")]
+ [ApiController]
+ public class FileController : ControllerBase
+ {
+ private IUserService _userService;
+ private readonly IHostEnvironment _env;
+ public FileController(IUserService userService, IHostEnvironment env)
+ {
+ _userService = userService;
+ _env = env;
+ }
+ [HttpPost]
+ [Authorize]
+ public async Task EditIcon(IFormFile file)
+ {
+ try
+ {
+ var _user = HttpContext.GetCurrentUserInfo();
+ var user_data = await _userService.GetUserById(_user.id);
+ var type = "image";
+ var filename = await Upload(type, file);
+ user_data.icon = filename;
+ await _userService.UpdateAsync(user_data);
+ return Result.Success();
+ }
+ catch
+ {
+ return Result.Error();
+ }
+ }
+
+ [Route("/api/{type}/{fileName}")]
+ [HttpGet]
+ public IActionResult Get(string type, string fileName)
+ {
+ try
+ {
+ var path = Path.Combine($"wwwroot/{type}", fileName);
+ var stream = System.IO.File.OpenRead(path);
+ var MimeType = Common.Helper.MimeHelper.GetMimeMapping(fileName);
+ return new FileStreamResult(stream, MimeType);
+ }
+ catch
+ {
+ return new NotFoundResult();
+ }
+ }
+
+ ///
+ /// 该方法不对外暴露
+ ///
+ ///
+ ///
+ ///
+ private async Task Upload(string type, IFormFile file)
+ {
+ string filename = Guid.NewGuid().ToString() + Path.GetExtension(file.FileName);
+ using (var stream = new FileStream(Path.Combine($"wwwroot/{type}", filename), FileMode.CreateNew, FileAccess.Write))
+ {
+ await file.CopyToAsync(stream);
+ }
+
+ return filename;
+ }
+
+ [HttpGet]
+ public async Task ExportFile()
+ {
+ var userdata = await _userService.GetAllEntitiesTrueAsync();
+ var userList = userdata.ToList();
+ List header = new() { "用户", "密码", "头像", "昵称", "邮箱", "ip", "年龄", "个人介绍", "地址", "手机", "角色" };
+ var filename = Common.Helper.ExcelHelper.CreateExcelFromList(userList, header, _env.ContentRootPath.ToString());
+ var MimeType = Common.Helper.MimeHelper.GetMimeMapping(filename);
+ return new FileStreamResult(new FileStream(Path.Combine(_env.ContentRootPath+@"/wwwroot/Excel", filename), FileMode.Open),MimeType);
+ }
+ }
+}
diff --git a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/JobController.cs b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/JobController.cs
new file mode 100644
index 00000000..84566713
--- /dev/null
+++ b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/JobController.cs
@@ -0,0 +1,104 @@
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Logging;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using Yi.Framework.Common;
+using Yi.Framework.Common.Const;
+using Yi.Framework.Common.Helper;
+using Yi.Framework.Common.Models;
+using Yi.Framework.Core;
+using Yi.Framework.DTOModel;
+using Yi.Framework.Interface;
+using Yi.Framework.Model.Models;
+
+namespace Yi.Framework.ApiMicroservice.Controllers
+{
+ [ApiController]
+ [Route("api/[controller]/[action]")]
+ public class JobController : Controller
+ {
+ private readonly ILogger _logger;
+ private QuartzInvoker _quartzInvoker;
+ public JobController(ILogger logger,QuartzInvoker quartzInvoker)
+ {
+ _logger = logger;
+ _quartzInvoker = quartzInvoker;
+ }
+
+ ///
+ ///
+ ///
+ ///
+ [HttpPost]
+ public async Task startJob()
+ {
+ //任务1
+ //await _quartzInvoker.start("*/1 * * * * ? ", new Quartz.JobKey("test", "my"), "VisitJob");
+
+ //任务2
+ Dictionary data = new Dictionary()
+ {
+ {JobConst.method,"get" },
+ {JobConst.url,"https://www.baidu.com" }
+ };
+ await _quartzInvoker.start("*/1 * * * * ? ", new Quartz.JobKey("test", "my"), "HttpJob",data: data);
+ return Result.Success();
+ }
+
+ ///
+ ///
+ ///
+ ///
+ [HttpGet]
+ public async Task getRunJobList()
+ {
+ return Result.Success().SetData(await _quartzInvoker.getRunJobList());
+ }
+
+ ///
+ ///
+ ///
+ ///
+ [HttpGet]
+ public Result getJobClass()
+ {
+ return Result.Success().SetData(_quartzInvoker.getJobClassList());
+ }
+
+ ///
+ ///
+ ///
+ ///
+ [HttpPut]
+ public async Task stopJob()
+ {
+ await _quartzInvoker.Stop(new Quartz.JobKey("test", "my"));
+ return Result.Success();
+ }
+
+ ///
+ ///
+ ///
+ ///
+ [HttpDelete]
+ public async Task DeleteJob()
+ {
+ await _quartzInvoker.Delete(new Quartz.JobKey("test", "my"));
+ return Result.Success();
+ }
+
+ ///
+ ///
+ ///
+ ///
+ [HttpPut]
+ public async Task ResumeJob()
+ {
+ await _quartzInvoker.Resume(new Quartz.JobKey("test", "my"));
+ return Result.Success();
+ }
+ }
+}
\ No newline at end of file
diff --git a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/MenuController.cs b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/MenuController.cs
new file mode 100644
index 00000000..ce14e68b
--- /dev/null
+++ b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/MenuController.cs
@@ -0,0 +1,113 @@
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using Yi.Framework.Common.Models;
+using Yi.Framework.DTOModel;
+using Yi.Framework.Interface;
+using Yi.Framework.Model.Models;
+using Yi.Framework.WebCore;
+
+namespace Yi.Framework.ApiMicroservice.Controllers
+{
+ [Route("api/[controller]/[action]")]
+ [ApiController]
+ [Authorize]
+ public class MenuController : ControllerBase
+ {
+ private IMenuService _menuService;
+ public MenuController(IMenuService menuService)
+ {
+ _menuService = menuService;
+ }
+ ///
+ /// 这个是要递归的,但是要过滤掉删除的,所以,可以写一个通用过滤掉删除的方法
+ ///
+ ///
+ [HttpGet]
+ public async Task GetMenuInMould()
+ {
+ return Result.Success().SetData(await _menuService.GetMenuInMould());
+ }
+
+ ///
+ /// 更
+ ///
+ ///
+ ///
+ [HttpPut]
+ public async Task UpdateMenu(menu _menu)
+ {
+ await _menuService.UpdateAsync(_menu);
+ return Result.Success();
+
+ }
+
+ ///
+ /// 删
+ ///
+ ///
+ ///
+ [HttpDelete]
+ public async Task DelListMenu(List _ids)
+ {
+ await _menuService.DelListByUpdateAsync(_ids);
+ return Result.Success();
+ }
+
+ ///
+ /// 增
+ /// 现在,top菜单只允许为一个
+ ///
+ ///
+ ///
+ [HttpPost]
+ public async Task AddTopMenu(menu _menu)
+ {
+ await _menuService.AddTopMenu(_menu);
+ return Result.Success();
+ }
+
+ ///
+ /// 给一个菜单设置一个接口,Id1为菜单id,Id2为接口id
+ /// 用于给菜单设置接口
+ ///
+ ///
+ ///
+ [HttpPost]
+ public async Task SetMouldByMenu(IdDto idDto)
+ {
+ await _menuService.SetMouldByMenu(idDto.id1, idDto.id2);
+ return Result.Success();
+ }
+
+
+ ///
+ /// 给一个菜单添加子节点(注意:添加,不是覆盖)
+ ///
+ ///
+ ///
+ [HttpPost]
+ public async Task AddChildrenMenu(ChildrenDto