| | |
| | | package com.dsh.course.feignClient.account; |
| | | |
| | | import com.dsh.course.feignClient.account.model.CityManager; |
| | | import com.dsh.guns.modular.system.model.Store; |
| | | import com.dsh.guns.modular.system.model.TStore; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | 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.ResponseBody; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | |
| | | */ |
| | | @PostMapping("/cityManager/queryCityManagerById") |
| | | CityManager queryCityManagerById(Integer id); |
| | | |
| | | /** |
| | | * 获取已有城市管理的省、市 |
| | | */ |
| | | @RequestMapping("/cityManager/listAll") |
| | | List<CityManager> listAll(); |
| | | |
| | | /** |
| | | * 选择省 展示市 |
| | | */ |
| | | @RequestMapping("/cityManager/getCity") |
| | | List<CityManager> getCity(@RequestBody String province); |
| | | |
| | | /** |
| | | * 选择市区 展示全部账号 |
| | | */ |
| | | @RequestMapping("/cityManager/getAccount") |
| | | List<CityManager> getAccount(@RequestBody String city); |
| | | |
| | | } |