17788a11
陈杰
中控指纹机
|
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
|
package com.sincere.att.feign;
import com.sincere.common.dto.smartCampus.SZ_AttendanceDto;
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;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
/**
* @author chen
* @version 1.0
* @date 2019/12/31 0031 11:08
*/
@FeignClient("smartCampusSearch")
public interface ScFeign {
@RequestMapping(value = "attendance/insertAttendance", method = RequestMethod.POST)
void insertAttendance(@RequestBody SZ_AttendanceDto attendanceDto);
@RequestMapping(value = "attendance/updateAttendance", method = RequestMethod.GET)
void updateAttendance(@RequestParam("clientId") String clientId);
|