| | |
| | | } |
| | | |
| | | @GetMapping("/merchants/login-account-available") |
| | | public ApiResponse<Map<String, Object>> merchantLoginAccountAvailable(@RequestParam String account) { |
| | | return ApiResponse.success(adminBusinessService.merchantLoginAccountAvailable(account)); |
| | | public ApiResponse<Map<String, Object>> merchantLoginAccountAvailable( |
| | | @RequestParam String account, |
| | | @RequestParam(required = false) Long merchantId) { |
| | | return ApiResponse.success(adminBusinessService.merchantLoginAccountAvailable(account, merchantId)); |
| | | } |
| | | |
| | | @PostMapping("/merchants") |