1.调整接口请求参数

This commit is contained in:
cdf
2024-05-06 10:14:44 +08:00
parent 5c613089e5
commit ba822aa7ce

View File

@@ -8,6 +8,7 @@ import com.njcn.device.biz.pojo.dto.LineDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
@@ -41,7 +42,7 @@ public interface CommLineClient {
* @param ids 监测点索引集合
*/
@PostMapping("/getLineDetailBatch")
HttpResult<List<LineDTO>> getLineDetailBatch(@RequestParam("ids") List<String> ids);
HttpResult<List<LineDTO>> getLineDetailBatch(@RequestBody List<String> ids);