OderWechatMsgClient.java
935 Bytes
package com.glsx.common.feign.client;
import com.alibaba.fastjson.JSONObject;
import com.glsx.common.config.FeignConfiguration;
import com.glsx.common.pojo.SysOrderWechatMsg;
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;
@FeignClient(name="car-service-ordercenter", configuration= FeignConfiguration.class)
public interface OderWechatMsgClient {
/**
*
* @author xiaoyj
* @Title: insert
* @Description: TODO 保存消息日志
* @param sysOrderWechatMsg
* @return
* JSONObject
*
*/
@RequestMapping(method = RequestMethod.POST, value = "/carservice/ordercenter/orderWechatMSg/insert")
JSONObject insert(@RequestBody SysOrderWechatMsg sysOrderWechatMsg);
}