From d9e34050e60bacc8193dfd56c25300a64a30ce74 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期四, 16 十一月 2023 14:39:19 +0800
Subject: [PATCH] 修改微心愿列表我认领的接口2
---
springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComSanShuoApi.java | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComSanShuoApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComSanShuoApi.java
index 08e5ff4..de250be 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComSanShuoApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComSanShuoApi.java
@@ -29,8 +29,8 @@
@ApiOperation(value = "小程序获取可选择行专家列表",response = ComSanshuoExpertVO.class )
@GetMapping("/expert/appletsList")
- public R expertAppList(){
- return communityService.expertAppList();
+ public R expertAppList(@RequestParam (value = "type",required = false)Integer type,@RequestParam(value = "id",required = false)Long id){
+ return communityService.expertAppList(type,id);
}
@ApiOperation(value = "专家风采",response = ExpertShowVO.class)
@@ -63,4 +63,11 @@
@RequestParam(value = "id",required = false) @ApiParam("id,level=1不传2行业分中心id 3街道id 4社区id")Long id){
return communityService.expertShowList(level,id);
}
+
+
+ @ApiOperation("专家详情展示")
+ @GetMapping("/expert/detail")
+ public R expertInfo(@RequestParam("id")Long id){
+ return communityService.expertShowList(7,id );
+ }
}
--
Gitblit v1.7.1