提交 | 用户 | age
|
a3eccf
|
1 |
package com.hz.crm.feign; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.crm.dto.IdDto; |
c4dac8
|
5 |
import com.hz.crm.dto.PageDto; |
a3eccf
|
6 |
import org.springframework.cloud.openfeign.FeignClient; |
F |
7 |
import org.springframework.web.bind.annotation.PostMapping; |
|
8 |
import org.springframework.web.bind.annotation.RequestBody; |
|
9 |
|
|
10 |
/** |
|
11 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
12 |
*/ |
949cfe
|
13 |
@FeignClient(name = "crm-user", path = "/crm-platform", contextId = "crm-group-activity") |
a3eccf
|
14 |
public interface FGroupActivityService { |
F |
15 |
|
c4dac8
|
16 |
/**专区列表*/ |
F |
17 |
@PostMapping(value = "/group/activity/see/list") |
|
18 |
Result getGroupActivityList(@RequestBody PageDto pageDto); |
|
19 |
|
a3eccf
|
20 |
/**专区详情*/ |
F |
21 |
@PostMapping(value = "/group/activity/see/detail") |
|
22 |
Result getGroupActivityDetail(@RequestBody IdDto idDto); |
|
23 |
|
|
24 |
|
|
25 |
} |