This commit is contained in:
2025-10-08 11:43:03 +08:00
parent df3523a817
commit d4b92675e7
3 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -279,7 +279,7 @@ namespace BLL
newItem.Category = item.Category;
newItem.Tag = item.Tag;
newItem.TagNumber = item.TagNumber;
string nameSpecifications = !string.IsNullOrWhiteSpace(item.NameSpecifications)? $"{item.NameSpecifications}。":string.Empty;
string nameSpecifications = !string.IsNullOrWhiteSpace(item.NameSpecifications) ? $"{item.NameSpecifications}。" : string.Empty;
if (!string.IsNullOrWhiteSpace(item.DrivingType))
{
nameSpecifications = $"{nameSpecifications} {type.GetProperty("DrivingType").GetCustomAttribute<JsonPropertyAttribute>().PropertyName}{item.DrivingType}";
@@ -683,7 +683,7 @@ namespace BLL
ErrLogInfo.WriteLog($"{url}【Cookie】{session.name}={session.value}");
var returndata = BLL.APIGetHttpService.OutsideHttp(url, "GET", null, newToken, null);
if (!string.IsNullOrEmpty(returndata))
if (!string.IsNullOrEmpty(returndata) && returndata != "{}")
{
ErrLogInfo.WriteLog($"【{startDate}请求结果】{returndata}");
IDPDesignDrawingResponseData responseData = IDPDesignDrawingResponseData.FromJson(returndata);