parent
fb9a6bfa36
commit
5791b7d6cb
|
|
@ -14,7 +14,7 @@ public class LasaAlgoInstance
|
|||
/// 主键ID
|
||||
/// </summary>
|
||||
[Key]
|
||||
[SugarColumn(ColumnName = "Id")]
|
||||
[SugarColumn(IsPrimaryKey = true, ColumnName = "Id")]
|
||||
[MaxLength(50)]
|
||||
public string Id { get; set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,8 @@ public class AlgoInstanceController : ControllerBase
|
|||
}
|
||||
|
||||
[HttpGet]
|
||||
public async Task<Response<PageInfo<List<LasaAlgoInstance>>>> GetAlgoInstanceList(AlgoInstancePageRequest req)
|
||||
public async Task<Response<PageInfo<List<LasaAlgoInstance>>>> GetAlgoInstanceList(
|
||||
[FromQuery] AlgoInstancePageRequest req)
|
||||
{
|
||||
return await _app.GetAlgoInstanceList(req);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue