change:轨迹刷新最短cd 60min

This commit is contained in:
李鹏军 2024-04-22 14:14:45 +08:00
parent 954654ede6
commit aecb488045

View File

@ -86,6 +86,8 @@ public class TrackPullService : ApplicationService
[HttpPost("Edit")] [HttpPost("Edit")]
public async Task<bool> EditAsync([FromBody] EditTrackPullConfigInput input) public async Task<bool> EditAsync([FromBody] EditTrackPullConfigInput input)
{ {
if (input.PullInterval < 60) input.PullInterval = 60;
if (input.Options != OptionTypeNoNull.删除) if (input.Options != OptionTypeNoNull.删除)
{ {
Expression<Func<TrackPullConfigEntity, bool>> isAnyExp = x => Expression<Func<TrackPullConfigEntity, bool>> isAnyExp = x =>