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;
|
|
/**
|
* 金币获取服务
|
*
|
* @author Administrator
|
*
|
*/
|
public interface IntegralGetService {
|
|
/**
|
* 添加事件统计
|
*
|
* @param uid
|
* @param params
|
* 事件相关参数
|
* @param event
|
* 事件编码
|
* @throws IntegralGetException
|
*/
|
public IntegralTaskRecord addEventStatistic(Long uid, String event, JSONObject params) throws IntegralGetException;
|
|
/**
|
* 从粘贴板推荐进入搜索结果
|
*
|
* @param uid
|
* @throws IntegralGetException
|
*/
|
public void addRecommendSearch(Long uid) throws IntegralGetException;
|
|
/**
|
* 搜索结果浏览
|
*
|
* @param uid
|
* @throws IntegralGetException
|
*/
|
public void addSearchResultScan(Long uid,String kw) throws IntegralGetException;
|
|
/**
|
* 分享邀请图
|
*
|
* @param uid
|
* @throws IntegralGetException
|
*/
|
public void addShareInvite(Long uid) throws IntegralGetException;
|
|
/**
|
* 进入店铺
|
*
|
* @param uid
|
* @throws IntegralGetException
|
*/
|
public void addIntoShop(Long uid) throws IntegralGetException;
|
|
/**
|
* 推送记录页浏览
|
*
|
* @param uid
|
* @throws IntegralGetException
|
*/
|
public void addScanPushHistory(Long uid) throws IntegralGetException;
|
|
/**
|
* 商品详情页浏览
|
*
|
* @param uid
|
* @param goodsType
|
* @param goodsId
|
*/
|
public void addScanGoodsDetail(Long uid, int goodsType, Long goodsId);
|
|
/**
|
* 推荐banner浏览
|
*
|
* @param uid
|
*/
|
public void addScanRecommendBanner(Long uid);
|
|
/**
|
* 推荐专题浏览
|
*
|
* @param uid
|
*/
|
public void addScanRecommendSpecial(Long uid);
|
|
/**
|
* 淘宝购物车浏览
|
*
|
* @param uid
|
*/
|
public void 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);
|
|
}
|