package com.yeshi.fanli.service.inter.integral;
|
|
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 void 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) 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);
|
|
}
|