17788a11
陈杰
中控指纹机
|
1
2
3
4
5
6
7
|
package com.sincere.att.feign;
import com.sincere.common.dto.xiaoan.FingerDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
|
713628be
陈杰
中控指纹机
|
8
|
import org.springframework.web.bind.annotation.RequestParam;
|
17788a11
陈杰
中控指纹机
|
9
10
11
12
13
14
15
16
17
|
/**
* @author chen
* @version 1.0
* @date 2019/12/31 0031 13:42
*/
@FeignClient("xiaoanSearch")
public interface XaFeign {
|
e92e5a92
陶汉栋
增加网关负载
|
18
|
@RequestMapping(value = "/xa/zk/insertFinger", method = RequestMethod.POST)
|
17788a11
陈杰
中控指纹机
|
19
|
int insertFinger(@RequestBody FingerDto fingerDto);
|
713628be
陈杰
中控指纹机
|
20
|
|
e92e5a92
陶汉栋
增加网关负载
|
21
|
@RequestMapping(value = "/xa/zk/selectFinger", method = RequestMethod.GET)
|
713628be
陈杰
中控指纹机
|
22
|
String selectFinger(@RequestParam("studentId") int studentId);
|
17788a11
陈杰
中控指纹机
|
23
|
}
|