| | |
| | | */ |
| | | @PostMapping("/merchant/add") |
| | | public R addMerchant(@RequestBody ConvenientMerchantDTO convenientMerchantDTO) { |
| | | log.error("catTimeStamp进入service_community" + convenientMerchantDTO.getAccount() + Instant.now().toEpochMilli()); |
| | | return convenientMerchantService.addMerchant(convenientMerchantDTO); |
| | | } |
| | | |
| | |
| | | * @return |
| | | */ |
| | | @GetMapping("/service-category/all") |
| | | public R getAllServiceCategories() { |
| | | return convenientServiceCategoryService.getAllServiceCategories(); |
| | | public R getAllServiceCategories(@RequestParam("areaCode") String areaCode) { |
| | | return convenientServiceCategoryService.getAllServiceCategories(areaCode); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return |
| | | */ |
| | | @GetMapping("/service-category/suitable") |
| | | public R getSuitableServiceCategories(@RequestParam("communityId") Long communityId) { |
| | | return convenientServiceCategoryService.getSuitableServiceCategories(communityId); |
| | | public R getSuitableServiceCategories(@RequestParam("communityId") Long communityId,@RequestParam("areaCode")String areaCode) { |
| | | return convenientServiceCategoryService.getSuitableServiceCategories(communityId,areaCode); |
| | | } |
| | | |
| | | /** |