src/main/java/com/mzl/flower/web/customer/CustomerController.java
@@ -89,4 +89,10 @@ customerService.isEnable(id); return returnData(R.SUCCESS.getCode(),null); } @GetMapping("/info/{phone}") @ApiOperation(value = "用户详情", notes = "用户详情") public ResponseEntity<ReturnDataDTO<CustomerDTO>> findCustomerByPhone(@PathVariable("phone") String phone) { return returnData(R.SUCCESS.getCode(),customerService.findCustomerByPhone(phone)); } }