|
|
@@ -24,7 +24,7 @@ public class RecommendationApi {
|
|
|
public List<String> getRecommendResult(String userId, List<String> knowledgeId, Integer questionNum) {
|
|
|
Map<String, ?> uriVariables = ImmutableMap.<String, Object>builder()
|
|
|
.put("userId", userId)
|
|
|
- .put("knowledgeId", knowledgeId == null ? "" : StringUtils.getParamValuesString(knowledgeId, "knowledgeId"))
|
|
|
+ .put("knowledgeId", knowledgeId == null ? "" : StringUtils.getParamValuesString(knowledgeId, "&knowledgeId="))
|
|
|
.put("questionNum", questionNum)
|
|
|
.build();
|
|
|
return restRequestUtil.sendGetRequest(getUrl, List.class, uriVariables);
|