From 06648a270b7ff01e150aa618451dbb4caa94865d Mon Sep 17 00:00:00 2001 From: zpc Date: Sun, 16 Nov 2025 14:59:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/Business/OdfPortsController.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ZR.Admin.WebApi/Controllers/Business/OdfPortsController.cs b/ZR.Admin.WebApi/Controllers/Business/OdfPortsController.cs index 2e9c2c7..01a8f11 100644 --- a/ZR.Admin.WebApi/Controllers/Business/OdfPortsController.cs +++ b/ZR.Admin.WebApi/Controllers/Business/OdfPortsController.cs @@ -1,4 +1,4 @@ -using Aliyun.OSS; +using Aliyun.OSS; using Microsoft.AspNetCore.Connections.Features; using Microsoft.AspNetCore.Mvc; @@ -150,13 +150,13 @@ namespace ZR.Admin.WebApi.Controllers.Business { tips = it.OpticalAttenuation; } - else - { - if (!string.IsNullOrEmpty(it.BusinessType)) - { - tips = it.BusinessType.Substring(0, 1); - } - } + //else + //{ + // if (!string.IsNullOrEmpty(it.BusinessType)) + // { + // tips = it.BusinessType.Substring(0, 1); + // } + //} return new OdfPortsMDto { Id = it.Id, Name = it.Name, Status = it.Status, Tips = tips }; }).ToList();