0
@Path("/submit")
public List<SaveCResponse> submitC(List<Long> ids) {

    ICService cService = CServiceBootstrap.getCService();
    List<SaveCResponse> cResponses = new ArrayList<>();
    for (Long id : ids) {
        SaveCResponse cResponse = cService.reSubmitC(id);
        cResponses.add(cResponse);
    }
    return cResponses;

}

如何使用邮递员调用上述方法。我的意思是如何传递 ID 列表?

4

0 回答 0