Commit 799b834c authored by 胡定国's avatar 胡定国

修改活动个列表请求方式

parent 9be8680d
...@@ -122,7 +122,7 @@ public class HomePageController { ...@@ -122,7 +122,7 @@ public class HomePageController {
} }
@PostMapping(value = "/queryCorpActivityList") @PostMapping(value = "/queryCorpActivityList")
@ApiOperation("机构活动列表") @ApiOperation("机构活动列表v2.2.10")
public CommonResp<Page<OfflineActivitySimpleResp>> queryCorpActivityList(@RequestBody OfflineActivityListReq req) { public CommonResp<Page<OfflineActivitySimpleResp>> queryCorpActivityList(@RequestBody OfflineActivityListReq req) {
return feignClientForActivity.queryCorpActivityList(req); return feignClientForActivity.queryCorpActivityList(req);
} }
......
...@@ -8,6 +8,7 @@ import io.swagger.annotations.ApiOperation; ...@@ -8,6 +8,7 @@ import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
...@@ -30,6 +31,6 @@ public interface FeignClientForActivity { ...@@ -30,6 +31,6 @@ public interface FeignClientForActivity {
CommonResp<List<OfflineActivitySimpleResp>> queryCorpHomeActivityList(@ApiParam("活动id") @RequestParam String corpId); CommonResp<List<OfflineActivitySimpleResp>> queryCorpHomeActivityList(@ApiParam("活动id") @RequestParam String corpId);
@ApiOperation("线下活动列表-查询机构活动列表") @ApiOperation("线下活动列表-查询机构活动列表")
@GetMapping(value = "/offlineActivity/inter/queryCorpActivityList") @PostMapping(value = "/offlineActivity/inter/queryCorpActivityList")
CommonResp<Page<OfflineActivitySimpleResp>> queryCorpActivityList(@RequestBody OfflineActivityListReq req); CommonResp<Page<OfflineActivitySimpleResp>> queryCorpActivityList(@RequestBody OfflineActivityListReq req);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment