1
zhujie
6 天以前 ec15861e14c66c38b1a8f5fffc6975d7da6c315c
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));
    }
}