change:轨迹刷新最短cd 60min
This commit is contained in:
parent
954654ede6
commit
aecb488045
@ -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 =>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user