fix: 修复附件上传响应处理逻辑

修改UploadAttachmentResponse的code字段类型为string以匹配实际接口返回
添加异常处理逻辑,增强附件上传失败时的错误处理和信息记录
This commit is contained in:
shangzhongyuan
2026-03-05 17:14:16 +08:00
parent 8f6f4894f0
commit e7766ceef8
2 changed files with 26 additions and 10 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ namespace YLErp.Modules.TradeModule
/// </summary>
public class UploadAttachmentResponse
{
public int code { get; set; }
public string code { get; set; }
public List<UploadAttachmentData> data { get; set; }
public string status { get; set; }
}