ISendUserMessage.java
1.48 KB
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
package com.yoho.message.sdk.service.user;
import com.yoho.message.sdk.common.model.SendMessageRspBo;
/**
*
* <Description> 用户模块消息发送<br>
*
* @author amos.shan<br>
* @version 1.0<br>
* @taskId <br>
* @CreateDate 2016年12月22日 <br>
*/
public interface ISendUserMessage {
/**
*
* Description: 会员升级<br>
*
* @author amos.shan<br>
* @taskId <br>
* @param vipLevel
* @param vipDiscount
* @return <br>
*/
SendMessageRspBo membershipUpgrade(String vipLevel, String vipDiscount, String uid);
/**
* 助力活动开始
* @param uid
* @param startTime
* @return
*/
SendMessageRspBo assistStart(String uid, String assistId, int startTime);
/**
* 助力活动还差一人
* @param uid
* @return
*/
SendMessageRspBo assistUidProcess(String uid, String assistId);
// /**
// * 助力活动还剩一个小时
// * @param uid
// * @return
// */
// SendMessageRspBo assistExpireProcess(String uid, String assistId);
/**
* 会员 升级/降级提醒
* @param uid
* @param oldVipLevel 原等级type
* @param currentVipLevel 更新后等级type
* @param expireTime 更新后等级到期时间戳
* @return
*/
SendMessageRspBo userVipChange(String uid,int oldVipLevel,int currentVipLevel,int expireTime);
/**
* 用户注册成功提醒
* @param uid
* @param nickName 昵称
* @param registerTime 注册时间戳
* @return
*/
SendMessageRspBo userRegisterNotice(String uid,String nickName,int registerTime);
}