换电异常表新增修改

master
tq 2 months ago
parent 6be009d1a1
commit 7510fe8b24

@ -33,5 +33,5 @@ public class SwapFailReasonConfig : BaseModel
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "remark")]
public string Remark { get; set; }
public string? Remark { get; set; }
}

@ -35,10 +35,7 @@ public class RfidController : ControllerBase
[Route("ReadRfid")]
public async Task<Result<RfidReadModel>> ReadRfid()
{
// RfidReadModel? rfidReadModel = await RfidApi.ReadRfid();
RfidReadModel rfidReadModel = new RfidReadModel();
rfidReadModel.VelNo = "123";
rfidReadModel.VelVin = "123";
RfidReadModel? rfidReadModel = await RfidApi.ReadRfid();
if (rfidReadModel != null) return Result<RfidReadModel>.Success(rfidReadModel, "读取成功");
return Result<RfidReadModel>.Fail();
}

Loading…
Cancel
Save