diff --git a/dl-module-base/src/main/java/cn/iocoder/yudao/module/app/customer/admin/CustomerMainApi.java b/dl-module-base/src/main/java/cn/iocoder/yudao/module/app/customer/admin/CustomerMainApi.java index 37d9e98c..c44359a5 100644 --- a/dl-module-base/src/main/java/cn/iocoder/yudao/module/app/customer/admin/CustomerMainApi.java +++ b/dl-module-base/src/main/java/cn/iocoder/yudao/module/app/customer/admin/CustomerMainApi.java @@ -21,14 +21,12 @@ import javax.annotation.Resource; import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success; /** - * 用于查看需要查dl_base_type的地方 - * 如维修预约需要选服务 - * - * @author 小李 - * @date 14:21 2024/9/23 + * 客户管理API + * @author PQZ + * @date 18:17 2024/9/24 **/ @RestController -@RequestMapping("/api/base/type") +@RequestMapping("/userClient/customer") public class CustomerMainApi { @Resource @@ -40,10 +38,9 @@ public class CustomerMainApi { * @date 17:24 2024/9/24 * @return cn.iocoder.yudao.framework.common.pojo.CommonResult **/ - @GetMapping("/get") - @Operation(summary = "获得客户管理") - @Parameter(name = "id", description = "编号", required = true, example = "1024") - public CommonResult getCustomerMain() { + @GetMapping("/getUserCustomer") + @Operation(summary = "获取当前登录用户的客户信息") + public CommonResult getUserCustomer() { return success(customerMainService.getUserCustomer()); }