mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
5.0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user