Skip to content

Commit

Permalink
feat: ✨ 框架代码同步 (#150)
Browse files Browse the repository at this point in the history
Co-authored-by: tk <[email protected]>
  • Loading branch information
nsnail and tk authored Jul 3, 2024
1 parent beba412 commit e1b0030
Show file tree
Hide file tree
Showing 263 changed files with 2,597 additions and 677 deletions.
53 changes: 52 additions & 1 deletion assets/res/Fields.ln
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
上次执行时间
上次执行状态
上次执行耗时
下次执行时间
不为其中之一
不以什么开始
不以什么结束
Expand All @@ -8,29 +12,39 @@
中专
中共党员
为其中之一
人工审核
以什么开始
以什么结束
作业名称
作业状态
保密
信息
倒序排序
全部数据
公告
共青团员
出生证
创建时间
初中
删除
包含
博士
博士后
发送失败
同步数据库结构
响应体
响应状态码
唯一编码
备注
外国人居留证
外部错误
大专
大于
大于等于
字典内容导出
宕机
客户端IP
小于
小于等于
小学
Expand All @@ -41,14 +55,29 @@
并且
成功
或者
所属角色
所属部门
手机
手机号
执行耗时
执行计划
护照
指定部门数据
按钮
排序
接口名称
接口导出
接口描述
接口路径
插入种子数据
操作系统
数据范围
无效操作
无效输入
无限权限
日期范围
是否启用
显示仪表板
未处理异常
未婚
未读
Expand All @@ -59,13 +88,21 @@
框架
比较数据库结构
注册
消息主题
消息摘要
消息类型
港澳台通行证
用户代理
用户名
用户导出
电子邮箱
登录
硕士
示例导出
离异
空闲
站内信导出
等于
等待发送
管理模块
Expand All @@ -76,16 +113,30 @@
自定义
范围
菜单
角色名称
角色导出
解绑手机号码
警告
计划作业导出
计划作业执行记录导出
请求方式
请求日志导出
调试
跟踪
身份证
运行
通知
邮箱号
部门名称
部门导出
配置导出
重设密码
链接
错误
随机排序
项值
项名
顺序排序
高中
高中
默认角色
默认部门
1 change: 1 addition & 0 deletions assets/res/Statements.ln
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ XML注释文件不存在
配置文件初始化完毕
键值不能为空
键名称不能为空
非JSON字符串
验证数据不能为空
验证码不正确
验证码不能为空
Expand Down
2 changes: 1 addition & 1 deletion assets/seed-data/Sys_Role.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"Sort": 100
},
{
"DataScope": 1,
"DataScope": 4,
"Enabled": true,
"Id": 371729946431493,
"Name": "普通用户",
Expand Down
2 changes: 0 additions & 2 deletions assets/seed-data/Sys_RoleMenu.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
[
{
"Id": 396423792566281,
"MenuId": 373837717815301,
"RoleId": 371729946431493
},
{
"Id": 396423792566282,
"MenuId": 374967228141573,
"RoleId": 371729946431493
}
Expand Down
6 changes: 4 additions & 2 deletions assets/seed-data/Sys_UserProfile.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[
{
"Id": 370942943322181
"Id": 370942943322181,
"AppConfig": "[]"
},
{
"Id": 560217289236492
"Id": 560217289236492,
"AppConfig": "[]"
}
]
2 changes: 1 addition & 1 deletion build/code.quality.props
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.27.0.93347">
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.28.0.94264">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion scripts/rename.csx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#r "nuget: NSExt, 2.1.0"
#r "nuget: NSExt, 2.2.0"
using NSExt.Extensions;

Console.WriteLine("请输入原始名称(NetAdmin):");
Expand Down
2 changes: 1 addition & 1 deletion scripts/switcher.nsext.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"packages": [
{
"packageName": "NSExt",
"version": "2.1.0"
"version": "2.2.0"
}
]
}
Expand Down
7 changes: 7 additions & 0 deletions src/backend/GlobalUsings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@
global using NSExt.Attributes;
global using NSExt.Extensions;
#if !INFRAS
global using CsvHelper.Configuration.Attributes;
global using NetAdmin.Domain.Attributes;
global using NetAdmin.Domain.Attributes.DataValidation;
global using NetAdmin.Domain.DbMaps.Dependency;
global using NetAdmin.Domain.DbMaps.Dependency.Fields;
global using NetAdmin.Domain.DbMaps.Sys;
global using CsvIndex = CsvHelper.Configuration.Attributes.IndexAttribute;
global using DynamicFilterInfo = NetAdmin.Domain.Dto.Dependency.DynamicFilterInfo;
global using DynamicFilterOperators = NetAdmin.Domain.Enums.DynamicFilterOperators;
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<wpf:ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xml:space="preserve">
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=services_005Cadm_005Cpartial/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using NetAdmin.AdmServer.Host.Filters;
using NetAdmin.Domain.Contexts;
using NetAdmin.Domain.DbMaps.Dependency.Fields;
using NetAdmin.Domain.Enums.Sys;
using NetAdmin.Host.Extensions;

Expand Down
Loading

0 comments on commit e1b0030

Please sign in to comment.