| | |
| | | package com.jilongda.applet.controller; |
| | | |
| | | |
| | | import com.jilongda.applet.query.TStoreQuery; |
| | | import com.jilongda.applet.service.TStoreService; |
| | | import com.jilongda.applet.vo.TStoreVO; |
| | | import com.jilongda.common.basic.ApiResult; |
| | | import com.jilongda.common.basic.PageInfo; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | @Autowired |
| | | private TStoreService tStoreService; |
| | | |
| | | |
| | | /** |
| | | * 获取门店列表 |
| | | */ |
| | | @ApiOperation(value = "获取门店分页列表") |
| | | @PostMapping(value = "/pageList") |
| | | public ApiResult<PageInfo<TStoreVO>> pageList(@RequestBody TStoreQuery query) { |
| | | return ApiResult.success(tStoreService.pageList(query)); |
| | | } |
| | | |
| | | |
| | | } |