tj
2025-04-02 e2c56f53fcfeb638c35464e9da18b78334daad0f
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));
    }
}