admin
2020-05-19 744594ef1a2f530fc3e86ea9dc48b62247f79420
fanli/src/main/java/com/yeshi/fanli/controller/client/v1/ShareController.java
@@ -529,7 +529,7 @@
            }
         });
         Gson gson = gsonBuilder.create();
         data.put("count", count);
         data.put("result_list", gson.toJson(list));
         out.print(JsonUtil.loadTrueResult(data));
@@ -1094,11 +1094,14 @@
               TaoBaoGoodsBrief goods = taoBaoLink.getGoods();
               if (!com.yeshi.fanli.util.VersionUtil.greaterThan_2_0_2(acceptData.getPlatform(),
                     acceptData.getVersion()))
                  data.put("clickUrl", ShareControllerV2.getERCodeContent(configService.get(ConfigKeyEnum.taobaoShareQrcodeText.getKey()), goods, taoBaoLink.getTaoToken()));
                  data.put("clickUrl",
                        ShareControllerV2.getERCodeContentNew(
                              configService.get(ConfigKeyEnum.taobaoShareQrcodeText.getKey()), goods,
                              taoBaoLink.getTaoToken()));
               data.put("token", TaoBaoUtil.filterTaoToken(taoBaoLink.getTaoToken()));
               String inviteCode  = userInfoExtraService.getInviteCodeByUid(uid);
               String inviteCode = userInfoExtraService.getInviteCodeByUid(uid);
               // 测试
               List<String> commentTexts = new ArrayList<>();
               String commentTextStr = configService.get(ConfigKeyEnum.shareSingleGoodsCommentText.getKey());
@@ -1119,7 +1122,10 @@
                  }
               }
               data.put("commentTexts", commentTexts);
               data.put("wxErCode", ShareControllerV2.getERCodeContent(configService.get(ConfigKeyEnum.taobaoShareQrcodeText.getKey()), goods, taoBaoLink.getTaoToken()));
               data.put("wxErCode",
                     ShareControllerV2.getERCodeContentNew(
                           configService.get(ConfigKeyEnum.taobaoShareQrcodeText.getKey()), goods,
                           taoBaoLink.getTaoToken()));
            }
         } else if (cid == 4) { // 邀请分享
@@ -1191,10 +1197,7 @@
               String valueBr = valueN.replace("\n", "<br><br>");
               data.put("inviteRules", valueBr);
               // 邀请链接
               String shortLink = HttpUtil.getShortLink("http://" + Constant.wxGZConfig.getLoginHost() + "/"
                     + Constant.systemCommonConfig.getProjectName() + "/client/threeShareNew?uid=" + uid);
               data.put("inviteLink", shortLink);
               data.put("inviteLink", Constant.YINGYONGBAO_LINK);
               data.put("inviteCode", inviteCode);
               data.put("helpLink", configService.get(ConfigKeyEnum.inviteHelpLink.getKey()));
            }