This commit is contained in:
六如
2024-09-10 21:01:57 +08:00
parent 5e8a5d7133
commit d4823ae473
32 changed files with 812 additions and 272 deletions

View File

@@ -15,4 +15,12 @@ public interface StoryService {
@Open("story.get")
StoryResponse getById(Integer id);
@Open("story.find")
default StoryResponse getById(Integer id, String name) {
StoryResponse storyResponse = new StoryResponse();
storyResponse.setId(id);
storyResponse.setName(name);
return storyResponse;
}
}