TRX 1 ano atrás
pai
commit
3cc83fcefd

+ 5 - 1
FullCardServer/src/main/java/com/zhongshu/card/server/core/service/quest/QuestService.java

@@ -133,7 +133,11 @@ public class QuestService {
                                     LinkedHashMap tempMap = (LinkedHashMap) answer;
                                     value = tempMap.get("value").toString();
                                     if (tempMap.containsKey("supplementary")) {
-                                        value += ": " + tempMap.get("supplementary").toString();
+                                        if (StringUtils.isNotEmpty(value)) {
+                                            value += "  补充: " + tempMap.get("supplementary").toString();
+                                        }else {
+                                            value += tempMap.get("supplementary").toString();
+                                        }
                                     }
                                 } else if (answer instanceof String) {
                                     value = answer.toString();