新增组织架构相关
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
package com.cool.store.controller;
|
||||
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.RegionService;
|
||||
import com.cool.store.vo.region.RegionBaseInfoVO;
|
||||
import io.swagger.annotations.Api;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @FileName: RegionController
|
||||
* @Description:
|
||||
* @date 2023-06-12 15:53
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping({"/v1/region" })
|
||||
@Slf4j
|
||||
@Api(tags = "组织架构")
|
||||
public class RegionController {
|
||||
|
||||
@Resource
|
||||
private RegionService regionService;
|
||||
|
||||
@GetMapping("/getRegionList")
|
||||
public ResponseResult<RegionBaseInfoVO> getRegionBaseInfoList(){
|
||||
return ResponseResult.success(regionService.getRegionBaseInfoList());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user