| | |
| | | |
| | | /** |
| | | * 获取分享的渠道标识 |
| | | * |
| | | * @param uid |
| | | * @return String 返回类型 |
| | | * @throws |
| | | * @Title: getShareChanTag |
| | | * @Description: |
| | | * @param uid |
| | | * @return |
| | | * String 返回类型 |
| | | * @throws |
| | | */ |
| | | public static String getShareChanTag(Long uid) { |
| | | return getBase64Str("share#" + uid); |
| | |
| | | |
| | | /** |
| | | * 获取自购的渠道标识 |
| | | * |
| | | * @param uid |
| | | * @return String 返回类型 |
| | | * @throws |
| | | * @Title: getBuyChanTag |
| | | * @Description: |
| | | * @param uid |
| | | * @return |
| | | * String 返回类型 |
| | | * @throws |
| | | */ |
| | | public static String getBuyChanTag(Long uid) { |
| | | return getBase64Str("buy#" + uid); |
| | |
| | | return BigDecimalUtil.getWithNoZera(money).setScale(2); |
| | | } |
| | | |
| | | public static BigDecimal getCouponPrice(VIPGoodsInfo goods) { |
| | | return new BigDecimal(goods.getVipPrice()); |
| | | } |
| | | |
| | | /** |
| | | * 获取订单详情的唯一标识 |
| | | * @Title: getOrderDetailIdentifyCode |
| | | * @Description: |
| | | * |
| | | * @param orderSn |
| | | * @param goodsId |
| | | * @param sizeId |
| | | * @return |
| | | * String 返回类型 |
| | | * @return String 返回类型 |
| | | * @throws |
| | | * @Title: getOrderDetailIdentifyCode |
| | | * @Description: |
| | | */ |
| | | public static String getOrderDetailIdentifyCode(String orderSn, String goodsId, String sizeId) { |
| | | |