@RestController @RequestMapping(value="/api/catalog") public class ApiCatalogController extends ApiBaseAction
logger, request, response, tokenService
Constructor and Description |
---|
ApiCatalogController() |
Modifier and Type | Method and Description |
---|---|
Object |
current(Integer id) |
Object |
index(Integer id,
Integer page,
Integer size)
获取分类栏目数据
|
bindException, getClientIp, getJsonRequest, getUserId, initBinder, toResponseFail, toResponseSuccess, toResponseSuccess, toResponseSuccessForSelect, toResponsObject
@IgnoreAuth @PostMapping(value="index") public Object index(Integer id, @RequestParam(value="page",defaultValue="1") Integer page, @RequestParam(value="size",defaultValue="10") Integer size)
@IgnoreAuth @PostMapping(value="current") public Object current(Integer id)
Copyright © 2021. All rights reserved.