Skip to content

Commit

Permalink
add applyId
Browse files Browse the repository at this point in the history
  • Loading branch information
kaideng committed Apr 20, 2021
1 parent bfdc771 commit d218d37
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ public Object inference(Context context, InboundPackage data) throws Exception {
if (StringUtils.isNotBlank(serviceId)) {
inferenceRequest.setServiceId(serviceId);
}
if(params.get("serviceId")!=null){
inferenceRequest.setApplyId(params.get("serviceId").toString());
if(params.get("applyId")!=null){
inferenceRequest.setApplyId(params.get("applyId").toString());
}

for (Map.Entry<String, Object> entry : featureData.entrySet()) {
Expand Down

0 comments on commit d218d37

Please sign in to comment.