package com.iailab.sdk.demo; import com.iailab.sdk.auth.client.IailabAuthClient; import com.iailab.sdk.auth.client.common.pojo.CommonResult; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.List; import java.util.Map; /** * @author iailab */ @RestController @RequestMapping("/demo") public class HttpClientDemo { @PostMapping("/query-points/history-value") public CommonResult> queryPointsRealValue(@RequestBody List pointNos) { return IailabAuthClient.getInstance().queryPointsRealValue(pointNos); } }