|
|
|
@ -21,13 +21,13 @@ public class Record { |
|
|
|
|
if (results.isPaidOnly()) { |
|
|
|
|
params.put("englishContent", "这道题是~付~费~内容哦"); |
|
|
|
|
} else { |
|
|
|
|
params.put("englishContent", results.getTitle()); |
|
|
|
|
params.put("englishContent", results.getContent()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
params.put("englishTitle", results.getTitle()); |
|
|
|
|
params.put("title", results.getChineseTitle()); |
|
|
|
|
params.put("content", results.getChineseContent()); |
|
|
|
|
params.put("hints", results.getDifficulty()); |
|
|
|
|
params.put("level", results.getDifficulty()); |
|
|
|
|
params.put("id", results.getId()); |
|
|
|
|
|
|
|
|
|
StringBuilder tagStringBuilder = new StringBuilder(); |
|
|
|
@ -41,7 +41,7 @@ public class Record { |
|
|
|
|
StringBuilder hintStringBuilder = new StringBuilder(); |
|
|
|
|
List<String> hints = results.getHints(); |
|
|
|
|
for (String hint : hints) { |
|
|
|
|
hintStringBuilder.append('[').append(hint).append("]\n\n"); |
|
|
|
|
hintStringBuilder.append(hint).append("\n\n"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
params.put("hints", hintStringBuilder.toString()); |
|
|
|
|