fix: 更新错误消息格式和数据库连接配置

修改错误消息格式以包含更详细的错误信息
更新生产环境和代码生成环境的数据库连接配置
This commit is contained in:
2025-10-11 17:37:27 +08:00
parent e6a9ca32c4
commit d9c9e13d15
2 changed files with 3 additions and 3 deletions

View File

@@ -201,7 +201,7 @@ namespace ZR.Admin.WebApi.Controllers.mes.pro
}
catch (Exception ex)
{
return ToResponse(ResultCode.GLOBAL_ERROR, "内容错误,请仔细检测格式,并联系管理员" + ex.Message);
return ToResponse(ResultCode.GLOBAL_ERROR, "内容错误,请仔细检测格式,并联系管理员,错误内容:" + ex.Message);
}
}
return SUCCESS(null);