ValhallaGeneralApiService.java
1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package cn.fw.valhalla.sdk.api;
import cn.fw.data.base.domain.common.Message;
import cn.fw.valhalla.sdk.param.CustomerQueryReq;
import cn.fw.valhalla.sdk.param.ReachLogReq;
import cn.fw.valhalla.sdk.result.CustomerSimpleInfoDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import javax.validation.Valid;
import java.util.List;
/**
* @author : kurisu
* @className : ValhallaGeneralApiService
* @description : 售后crm通用api
* @date: 2020-11-11 15:33
*/
@FeignClient(value = "fw-valhalla", path = "/api/valhalla/general")
public interface ValhallaGeneralApiService {
/**
* 保存进站记录
*
* @param reachLogReq
* @return
*/
@PostMapping("/reach/save")
Message<Void> saveReachLog(@Valid @RequestBody ReachLogReq reachLogReq);
/**
* 查询保有客档案信息
*
* @param customerQueryReq
* @return
*/
@PostMapping("/query/customer/list")
Message<List<CustomerSimpleInfoDto>> queryCustomList(@RequestBody CustomerQueryReq customerQueryReq);
}