地区懒加载
This commit is contained in:
parent
722736d084
commit
195f3476a9
@ -72,7 +72,7 @@ public class ShopOpenController {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "地区表-根据父id查找子列表", notes = "地区表-根据父id查找子列表")
|
@ApiOperation(value = "地区表-根据父id查找子列表", notes = "地区表-根据父id查找子列表")
|
||||||
@RequestMapping(value = "/list", method = RequestMethod.GET)
|
@RequestMapping(value = "/shop-base-district/list", method = RequestMethod.GET)
|
||||||
public CommonResult list(@RequestParam(name = "district_parent_id", defaultValue = "0") Integer district_parent_id ){
|
public CommonResult list(@RequestParam(name = "district_parent_id", defaultValue = "0") Integer district_parent_id ){
|
||||||
return CommonResult.success(shopBaseDistrictService.getDistrictByParentIdList(district_parent_id));
|
return CommonResult.success(shopBaseDistrictService.getDistrictByParentIdList(district_parent_id));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user