package com.dsh.account.controller;
|
|
import com.dsh.account.entity.CityManager;
|
import com.dsh.account.service.ICityManagerService;
|
import org.springframework.web.bind.annotation.*;
|
|
import javax.annotation.Resource;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2023/8/1 17:06
|
*/
|
@RestController
|
@RequestMapping("")
|
public class CityManagerController {
|
|
@Resource
|
private ICityManagerService cityManagerService;
|
|
|
/**
|
* 根据id获取数据
|
* @param id
|
* @return
|
*/
|
@ResponseBody
|
@PostMapping("/cityManager/queryCityManagerById")
|
public CityManager queryCityManagerById(@RequestBody Integer id){
|
return cityManagerService.getById(id);
|
}
|
}
|