mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-27 01:50:31 +08:00
调整SSL证书目录结构
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
|
||||
// 消息相关服务
|
||||
type MessageService struct {
|
||||
BaseService
|
||||
}
|
||||
|
||||
// 计算未读消息数
|
||||
@@ -97,7 +98,7 @@ func (this *MessageService) UpdateMessageRead(ctx context.Context, req *pb.Updat
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return rpcutils.Success()
|
||||
return this.Success()
|
||||
}
|
||||
|
||||
// 设置一组消息已读状态
|
||||
@@ -112,7 +113,7 @@ func (this *MessageService) UpdateMessagesRead(ctx context.Context, req *pb.Upda
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return rpcutils.Success()
|
||||
return this.Success()
|
||||
}
|
||||
|
||||
// 设置所有消息为已读
|
||||
@@ -127,5 +128,5 @@ func (this *MessageService) UpdateAllMessagesRead(ctx context.Context, req *pb.U
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return rpcutils.Success()
|
||||
return this.Success()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user