| | |
| | | } |
| | | |
| | | /** |
| | | * 获取便民服务商家详情 |
| | | * |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | @GetMapping("/merchant/getMerchantByUserId") |
| | | public R getMerchantByUserId(@RequestParam("userId") Long userId) { |
| | | return convenientMerchantService.getMerchantByUserId(userId); |
| | | } |
| | | |
| | | /** |
| | | * 禁用/启用便民服务商家 |
| | | * |
| | | * @param disableOrEnableConvenientMerchantDTO |
| | |
| | | } |
| | | |
| | | /** |
| | | * 获取用户便民服务商家详情 |
| | | * |
| | | * @param account 商家绑定账号 |
| | | * @return |
| | | */ |
| | | @GetMapping("/getMerchantInfoByAccount") |
| | | public R<ConvenientMerchantVO> getMerchantInfoByAccount(@RequestParam("account") String account) { |
| | | return convenientMerchantService.getMerchantInfoByAccount(account); |
| | | } |
| | | |
| | | /** |
| | | * 获取商便民服务商家信息 |
| | | * |
| | | * @param userId |