|
@@ -158,7 +158,7 @@ func MsgCountAdd(userId, msgType, appId string) bool {
|
|
|
FindUserMsg(message.FindUserMsgReq{
|
|
|
UserId: userId,
|
|
|
Appid: appId,
|
|
|
- OffSet: 0,
|
|
|
+ OffSet: 1,
|
|
|
PageSize: 5,
|
|
|
MsgType: -1,
|
|
|
Read: 0,
|
|
@@ -172,7 +172,7 @@ func MsgCountMinusOne(userId, msgType, appId string) bool {
|
|
|
FindUserMsg(message.FindUserMsgReq{
|
|
|
UserId: userId,
|
|
|
Appid: appId,
|
|
|
- OffSet: 0,
|
|
|
+ OffSet: 1,
|
|
|
PageSize: 5,
|
|
|
MsgType: -1,
|
|
|
Read: 0,
|
|
@@ -191,7 +191,7 @@ func MsgCountZero(userId, msgType, appId string) bool {
|
|
|
FindUserMsg(message.FindUserMsgReq{
|
|
|
UserId: userId,
|
|
|
Appid: appId,
|
|
|
- OffSet: 0,
|
|
|
+ OffSet: 1,
|
|
|
PageSize: 5,
|
|
|
MsgType: -1,
|
|
|
Read: 0,
|