OperateLogClient.java
1.03 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
package com.glsx.common.feign.client;
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 com.alibaba.fastjson.JSONObject;
import com.glsx.common.config.FeignConfig;
import com.glsx.common.pojo.OperateLog;
/**
*
* @Title OperateLogClient.java
* @Package com.glsx.common.feign.client
* @Description TODO 日志操作feign的客户端
* @author zhanghj
* @date 2019年2月2日 下午8:21:12
* @version 1.0.0
*/
@FeignClient(name="car-service-manager", configuration=FeignConfig.class)
public interface OperateLogClient {
/**
*
* @author zhanghj
* @Title: save
* @Description: TODO 保存操作日志
* @param optLog
* @return
* JSONObject
*
*/
@RequestMapping(method = RequestMethod.POST, value = "/carservice/manager/operateLog/save")
JSONObject save(@RequestBody OperateLog optLog);
}