LgWeightFeigenService.java 550 B

123456789101112131415161718
  1. package com.steerinfo.feigen.service;
  2. import com.steerinfo.feigen.model.LgWeight;
  3. import org.springframework.cloud.openfeign.FeignClient;
  4. import org.springframework.stereotype.Component;
  5. import org.springframework.web.bind.annotation.GetMapping;
  6. import org.springframework.web.bind.annotation.RequestParam;
  7. import java.util.List;
  8. @FeignClient(value = "xt-ems-product",url = "192.168.64.1:8888")
  9. @Component
  10. public interface LgWeightFeigenService {
  11. @GetMapping("v1/lgweight/queryWeightByTime")
  12. public List<LgWeight> QueryWeightByTime();
  13. }