yujian
2019-08-27 d8359ddb48dab5cc797a9d552e11fde571f4920c
fanli/src/main/java/com/yeshi/fanli/service/inter/integral/IntegralGetService.java
@@ -1,8 +1,7 @@
package com.yeshi.fanli.service.inter.integral;
import com.yeshi.fanli.entity.integral.IntegralTaskRecord;
import com.yeshi.fanli.exception.integral.IntegralGetException;
import net.sf.json.JSONObject;
/**
 * 金币获取服务
@@ -22,7 +21,7 @@
    *            事件编码
    * @throws IntegralGetException
    */
   public void addEventStatistic(Long uid, String event, JSONObject params) throws IntegralGetException;
   public IntegralTaskRecord addEventStatistic(Long uid, String event) throws IntegralGetException;
   /**
    * 从粘贴板推荐进入搜索结果
@@ -30,7 +29,7 @@
    * @param uid
    * @throws IntegralGetException
    */
   public void addRecommendSearch(Long uid) throws IntegralGetException;
   public IntegralTaskRecord addRecommendSearch(Long uid);
   /**
    * 搜索结果浏览
@@ -38,7 +37,7 @@
    * @param uid
    * @throws IntegralGetException
    */
   public void addSearchResultScan(Long uid) throws IntegralGetException;
   public IntegralTaskRecord addSearchResultScan(Long uid,String kw) ;
   /**
    * 分享邀请图
@@ -46,7 +45,7 @@
    * @param uid
    * @throws IntegralGetException
    */
   public void addShareInvite(Long uid) throws IntegralGetException;
   public IntegralTaskRecord addShareInvite(Long uid);
   /**
    * 进入店铺
@@ -54,7 +53,7 @@
    * @param uid
    * @throws IntegralGetException
    */
   public void addIntoShop(Long uid) throws IntegralGetException;
   public IntegralTaskRecord addIntoShop(Long uid, String shopUrlMD5);
   /**
    * 推送记录页浏览
@@ -62,7 +61,7 @@
    * @param uid
    * @throws IntegralGetException
    */
   public void addScanPushHistory(Long uid) throws IntegralGetException;
   public IntegralTaskRecord addScanPushHistory(Long uid) ;
   /**
    * 商品详情页浏览
@@ -71,27 +70,155 @@
    * @param goodsType
    * @param goodsId
    */
   public void addScanGoodsDetail(Long uid, int goodsType, Long goodsId);
   public IntegralTaskRecord addScanGoodsDetail(Long uid, int goodsType, Long goodsId);
   /**
    * 推荐banner浏览
    * 
    * @param uid
    */
   public void addScanRecommendBanner(Long uid);
   public IntegralTaskRecord addScanRecommendBanner(Long uid, String id);
   /**
    * 推荐专题浏览
    * 
    * @param uid
    */
   public void addScanRecommendSpecial(Long uid);
   public IntegralTaskRecord addScanRecommendSpecial(Long uid, String id);
   /**
    * 淘宝购物车浏览
    * 
    * @param uid
    */
   public void addScanTaoBaoCart(Long uid);
   public IntegralTaskRecord addScanTaoBaoCart(Long uid);
   /**
    * 自购立减
    * @param uid
    */
   public void addTaoLiJinBuy(Long uid, Long goodsId);
   /**
    * 直接邀请
    * @param uid
    * @param goodsId
    */
   public void addInviteLevelOne(Long uid, Long workerId);
   /**
    * 单个商品分享
    * @param uid
    */
   public void addShareSingleGoods(Long uid);
   /**
    * 多个商品分享
    * @param uid
    */
   public void addShareMultipleGoods(Long uid);
   /**
    * 分享爆款商品
    * @param uid
    */
   public void addShareTLJGoods(Long uid);
   /**
    * 赠送奖励券
    * @param uid
    */
   public void addGiveRebateCoupon(Long uid);
   /**
    * 赠送免单券
    * @param uid
    */
   public void addGiveFreeCoupon(Long uid);
   /**
    * 赠送推广红包
    * @param uid
    */
   public void addGiveTaoLiJin(Long uid);
   /**
    * 关闭 不喜欢商品
    * @param uid
    */
   public void addCloseRecommendGoods(Long uid);
   /**
    * 领券返利
    * @param uid
    */
   public void addCouponRebate(Long uid);
   /**
    *  返利订单
    * @param uid
    */
   public void addRebateOrder(Long uid);
   /**
    * 分享订单
    * @param uid
    */
   public void addShareOrder(Long uid);
   /**
    * 微信授权
    * @param uid
    */
   public void addBindWeiXin(Long uid);
   /**
    * 绑定手机
    * @param uid
    */
   public void addBindPhone(Long uid);
   /**
    * 淘宝授权
    * @param uid
    */
   public void addBindTaoBao(Long uid);
   /**
    * 添加微信号
    * @param uid
    */
   public void addSetWeiXinNum(Long uid);
   /**
    * 设置性别
    * @param uid
    */
   public void addSetGender(Long uid);
   /**
    * 修改头像
    * @param uid
    */
   public void addSetPortrait(Long uid);
   /**
    * 修改昵称
    * @param uid
    */
   public void addSetNickname(Long uid);
   /**
    * 绑定支付宝
    * @param uid
    */
   public void addBindAlipay(Long uid);
   /**
    * 激活邀请
    * @param uid
    */
   public void addInviteActivate(Long uid);
}