HttpResponse增加finish(Object)系列方法

This commit is contained in:
Redkale
2017-12-14 15:02:16 +08:00
parent 426506324f
commit f14ef05c88
3 changed files with 79 additions and 111 deletions

View File

@@ -43,6 +43,11 @@ public class HelloService implements Service {
return new RetResult<>(entity);
}
//
public HttpResult showHello(int id) {
return new HttpResult("a");
}
//删除记录
public void deleteHello(int id) { //通过 /pipes/hello/delete/1234 删除对象
source.delete(HelloEntity.class, id);