1
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user