yujian
2019-08-23 08bc0a13c0c2e00658e5ea63839893e73902810f
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
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);
 
}