admin
2018-12-11 7db3a1c406ed7d3f21ced7742850504fbc9c4c9a
返回分享赚的金额
1个文件已修改
6 ■■■■■ 已修改文件
fanli/src/main/java/com/yeshi/fanli/controller/client/ShareController.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/controller/client/ShareController.java
@@ -140,7 +140,7 @@
            data.put("notifyDesc", configService.get("goods_share_notify"));
            // 添加分享记录
            BigDecimal rate = hongBaoManageService.getFanLiRate();
            BigDecimal rate = hongBaoManageService.getShareRate();
            UserShareGoodsHistory history = new UserShareGoodsHistory();
            history.setTkCode(taoBaoLink.getTaoToken());
            history.setLink(taoBaoLink.getClickUrl());
@@ -157,6 +157,8 @@
            history.setPictures(JsonUtil.getGson().toJson(imgList));
            history.setUser(new UserInfo(uid));
            history.setPostPicture(taoBaoLink.getGoods().getPictUrl());
            data.put("shareMoney", history.getHongbao().toString());
            out.print(JsonUtil.loadTrueResult(data));
@@ -204,7 +206,7 @@
        if (uid == null) {
            out.print(JsonUtil.loadFalseResult("用户未登录"));
        }
        if ("all".equals(source)) {
            source = null;// 查询全部
        }