lisai17@sina.com 2020-10-19 10:09:39 +08:00
parent 5ca03cd829
commit d9da616f65
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ public class PrepayDetailController extends Controller {
*/ */
@Before(PrepayDetailPKValidator.class) @Before(PrepayDetailPKValidator.class)
public void get() { public void get() {
renderJson(PrepayDetailService.me.get(get("id"))); renderJson(Result.object(PrepayDetailService.me.get(get("id"))));
} }
/** /**

View File

@ -137,7 +137,7 @@ public class PrepayDetailController extends Controller {
*/ */
@Before(PrepayDetailPKValidator.class) @Before(PrepayDetailPKValidator.class)
public void get() { public void get() {
renderJson(PrepayDetailService.me.get(get("id"))); renderJson(Result.object(PrepayDetailService.me.get(get("id"))));
} }
/** /**