| | |
| | | import com.yeshi.fanli.entity.integral.IntegralTaskRecord;
|
| | | import com.yeshi.fanli.exception.integral.IntegralGetException;
|
| | |
|
| | | import net.sf.json.JSONObject;
|
| | |
|
| | | /**
|
| | | * 金币获取服务
|
| | | *
|
| | |
| | | * 事件编码
|
| | | * @throws IntegralGetException
|
| | | */
|
| | | public IntegralTaskRecord addEventStatistic(Long uid, String event, JSONObject params) throws IntegralGetException;
|
| | | public IntegralTaskRecord addEventStatistic(Long uid, String event) throws IntegralGetException;
|
| | |
|
| | | /**
|
| | | * 从粘贴板推荐进入搜索结果
|
| | |
| | | * @param uid
|
| | | * @throws IntegralGetException
|
| | | */
|
| | | public void addRecommendSearch(Long uid) throws IntegralGetException;
|
| | | public IntegralTaskRecord addRecommendSearch(Long uid);
|
| | |
|
| | | /**
|
| | | * 搜索结果浏览
|
| | |
| | | * @param uid
|
| | | * @throws IntegralGetException
|
| | | */
|
| | | public void addSearchResultScan(Long uid,String kw) throws IntegralGetException;
|
| | | public IntegralTaskRecord addSearchResultScan(Long uid,String kw) ;
|
| | |
|
| | | /**
|
| | | * 分享邀请图
|
| | |
| | | * @param uid
|
| | | * @throws IntegralGetException
|
| | | */
|
| | | public void addShareInvite(Long uid) throws IntegralGetException;
|
| | | public IntegralTaskRecord addShareInvite(Long uid);
|
| | |
|
| | | /**
|
| | | * 进入店铺
|
| | |
| | | * @param uid
|
| | | * @throws IntegralGetException
|
| | | */
|
| | | public void addIntoShop(Long uid) throws IntegralGetException;
|
| | | public IntegralTaskRecord addIntoShop(Long uid, String shopUrlMD5);
|
| | |
|
| | | /**
|
| | | * 推送记录页浏览
|
| | |
| | | * @param uid
|
| | | * @throws IntegralGetException
|
| | | */
|
| | | public void addScanPushHistory(Long uid) throws IntegralGetException;
|
| | | public IntegralTaskRecord addScanPushHistory(Long uid) ;
|
| | |
|
| | | /**
|
| | | * 商品详情页浏览
|
| | |
| | | * @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);
|
| | |
|
| | | /**
|
| | | * 自购立减
|