package com.clx.performance.controller.temp;

import com.clx.order.feign.OrderFeign;
import com.msl.common.result.Result;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: aiqingguo
 * @Description: 临时接口
 * @Date: 2023-8-21 12:10:16
 * @Version: 1.0
 */
@Slf4j
@RestController
@RequestMapping(value="/temp/feign")
public class TempFeignController {

    private OrderFeign orderFeign;

    @ApiOperation(value = "测试feign", notes = "<br>By:刘海泉")
    @GetMapping("/replaceFeignHttp")
    public Result<Object> replaceFeignHttp() {

        orderFeign.testFeignHttp();

        return Result.ok();
    }

}
