package com.tzld.piaoquan.api.feign;

import com.tzld.piaoquan.growth.common.common.base.CommonResponse;
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(value = "log-center", url = "${api-gateway.feign.url:}", path = "/log-center")
public interface LogCenterFeign {

    @RequestMapping(value = "/log/logUpload", method = RequestMethod.POST)
    CommonResponse logUpload(@RequestBody String request);

}
