fix(forest): 修复参数未生效

This commit is contained in:
2023-05-07 16:58:50 +08:00
parent 39a5101af3
commit 494c8e7412
2 changed files with 4 additions and 2 deletions

View File

@@ -2,6 +2,7 @@ package com.lanyuanxiaoyao.service.forest.service;
import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.Var;
import com.eshore.odcp.hudi.connector.entity.compaction.ScheduleJob;
import com.lanyuanxiaoyao.micro.service.entity.queue.QueueItem;
import org.eclipse.collections.api.list.ImmutableList;
@@ -18,5 +19,5 @@ public interface DequeService {
ImmutableList<String> names();
@Get("/all/{name}")
ImmutableList<QueueItem<ScheduleJob>> all(String name);
ImmutableList<QueueItem<ScheduleJob>> all(@Var("name") String name);
}

View File

@@ -2,6 +2,7 @@ package com.lanyuanxiaoyao.service.forest.service;
import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.Var;
import com.eshore.odcp.hudi.connector.entity.compaction.ScheduleJob;
import com.lanyuanxiaoyao.micro.service.entity.queue.QueueItem;
import org.eclipse.collections.api.list.ImmutableList;
@@ -18,5 +19,5 @@ public interface QueueService {
ImmutableList<String> names();
@Get("/all/{name}")
ImmutableList<QueueItem<ScheduleJob>> all(String name);
ImmutableList<QueueItem<ScheduleJob>> all(@Var("name") String name);
}