CommonClient.java
1.01 KB
package com.glsx.common.feign.client;
import com.alibaba.fastjson.JSONObject;
import com.glsx.common.config.FeignConfig;
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;
/**
*
* @Title CarBrandClient.java
* @Package com.glsx.common.feign.client
* @Description TODO 通用接口feign
* @author zhanghj
* @date 2019年2月16日 下午3:12:54
* @version 1.0.0
*/
@FeignClient(name="car-service-publicservice", configuration=FeignConfig.class)
public interface CommonClient {
/**
*
* @author zhanghj
* @Title: getCarbrandList
* @Description: TODO 上传二维码
* @return
* JSONObject
*
*/
@RequestMapping(value="/carservice/publicservice/common/uploadQRImage", method= RequestMethod.POST)
public JSONObject uploadQRImage(@RequestBody byte[] bytes);
}