@RestController @RequestMapping(value="/api/brand") public class ApiBrandController extends ApiBaseAction
logger, request, response, tokenService
Constructor and Description |
---|
ApiBrandController() |
Modifier and Type | Method and Description |
---|---|
Object |
detail(Integer id)
品牌详情
|
Object |
list(Integer page,
Integer size)
分页获取品牌
|
bindException, getClientIp, getJsonRequest, getUserId, initBinder, toResponseFail, toResponseSuccess, toResponseSuccess, toResponseSuccessForSelect, toResponsObject
@IgnoreAuth @PostMapping(value="list") public Object list(@RequestParam(value="page",defaultValue="1") Integer page, @RequestParam(value="size",defaultValue="10") Integer size)
@IgnoreAuth @PostMapping(value="detail") public Object detail(@RequestParam Integer id)
Copyright © 2021. All rights reserved.