lensfrex 1 year ago
parent a43e157bac
commit bc8ee2e5b1
Signed by: lensfrex
GPG Key ID: 0F69A0A2FBEE98A0
  1. 2
      external-library/mywust
  2. 6
      sub-services/library/src/main/java/cn/wustlinghang/wusthelper/internal/library/api/http/SearchApi.java
  3. 2
      sub-services/library/src/main/java/cn/wustlinghang/wusthelper/internal/library/bean/MywustRequestAgentBeans.java
  4. 1
      sub-services/library/src/main/java/cn/wustlinghang/wusthelper/internal/library/services/CurrentLoanService.java

@ -1 +1 @@
Subproject commit c13aa2f56f1ad3b1ab8475f1674f5851fa2f90da Subproject commit 99e1ea7c8fe539c2c6d942b0b32a7d4445298f4f

@ -23,9 +23,11 @@ public class SearchApi {
@GET @GET
@Path("/") @Path("/")
public List<Score> get(@QueryParam("isbn") @NotNull String isbn) public List<Score> get(@QueryParam("keyword") @NotNull String keyword,
@QueryParam("page") @NotNull int page,
@QueryParam("page_size") @NotNull int pageSize)
throws RpcException { throws RpcException {
return this.parse(this.agent(isbn)); return this.parse(this.agent(keyword, page, pageSize));
} }
@GET @GET

@ -16,7 +16,7 @@ public class MywustRequestAgentBeans {
.port(8080) .port(8080)
.build(); .build();
RequestClientOption option = new RequestClientOption(); RequestClientOption option = new RequestClientOption();
// option.setProxy(proxy); option.setProxy(proxy);
return option; return option;
} }

@ -29,5 +29,4 @@ public class CurrentLoanService extends BaseService {
); );
} }
} }
} }

Loading…
Cancel
Save