From e5c5c698d114e487bbefc6c430d9b2fcfdd68bca Mon Sep 17 00:00:00 2001 From: quowingwang Date: Tue, 13 Jan 2026 10:51:09 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MDM/Controllers/Material/MaterialTypeController.cs | 2 +- MDM/Models/Material/Dto/MaterialTypeDto.cs | 6 +++--- RIZO.Admin.WebApi/appsettings.Development.json | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/MDM/Controllers/Material/MaterialTypeController.cs b/MDM/Controllers/Material/MaterialTypeController.cs index 366b225..7290931 100644 --- a/MDM/Controllers/Material/MaterialTypeController.cs +++ b/MDM/Controllers/Material/MaterialTypeController.cs @@ -24,7 +24,7 @@ namespace MDM.Controllers.Material /// /// 物料类别 /// - [Verify] + [AllowAnonymous] [Route("MasterDataManagement/Material/MaterialType")] public class MaterialTypeController : BaseController { diff --git a/MDM/Models/Material/Dto/MaterialTypeDto.cs b/MDM/Models/Material/Dto/MaterialTypeDto.cs index d165459..79924e4 100644 --- a/MDM/Models/Material/Dto/MaterialTypeDto.cs +++ b/MDM/Models/Material/Dto/MaterialTypeDto.cs @@ -28,17 +28,17 @@ namespace MDM.Model.Material.Dto public string Code { get; set; } - public string ParentCode { get; set; } + public string? ParentCode { get; set; } public int? Status { get; set; } public string Remark { get; set; } - public string CreatedBy { get; set; } + public string? CreatedBy { get; set; } public DateTime? CreatedTime { get; set; } - public string UpdatedBy { get; set; } + public string? UpdatedBy { get; set; } public DateTime? UpdatedTime { get; set; } diff --git a/RIZO.Admin.WebApi/appsettings.Development.json b/RIZO.Admin.WebApi/appsettings.Development.json index 3fd5e72..dc36de3 100644 --- a/RIZO.Admin.WebApi/appsettings.Development.json +++ b/RIZO.Admin.WebApi/appsettings.Development.json @@ -13,10 +13,10 @@ "CodeGenDbConfig": { //代码生成连接字符串,注意{dbName}为固定格式,不要填写数据库名 //"Conn": "Data Source=139.224.232.211;User ID=root;Password=RIZOtech123;Initial Catalog={dbName};Port=3308;", - "Conn": "Data Source=192.168.1.48;User ID=root;Password=123456;Initial Catalog={dbName};Port=3306;", - "DbType": 0, + //"Conn": "Data Source=192.168.1.48;User ID=root;Password=123456;Initial Catalog={dbName};Port=3306;", + "Conn": "Data Source=118.25.48.201;User ID=root;Password=123456;Initial Catalog={dbName};Port=3306;", "IsAutoCloseConnection": true, - "DbName": "general_line_mes" //代码生成默认连接数据库,Oracle库是实例的名称 + "DbName": "valeo_line_mes" //代码生成默认连接数据库,Oracle库是实例的名称 } }