admin
2019-08-20 398f41e16c0230a94d277e297eba17b5839db71c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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);
 
}