去掉不需要的打印信息

This commit is contained in:
meixiongfeng 2022-07-13 09:35:32 +08:00
parent dfcd65eecd
commit cfc9a018f0
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ import (
//参数校验
func (this *apiComp) DelMailCheck(session comm.IUserSession, req *pb.MailDelMailReq) (code pb.ErrorCode) {
if session.GetUserId() == "" || req.ObjID == "" {
code = pb.ErrorCode_NoLogin
code = pb.ErrorCode_ReqParameterError
return
}
return

View File

@ -9,7 +9,7 @@ import (
func (this *apiComp) ReadMailCheck(session comm.IUserSession, req *pb.MailReadMailReq) (code pb.ErrorCode) {
if session.GetUserId() == "" || req.ObjID == "" {
code = pb.ErrorCode_NoLogin
code = pb.ErrorCode_ReqParameterError
return
}
return

View File

@ -74,7 +74,7 @@ func (this *SCompGateRoute) Start() (err error) {
//业务模块注册用户消息处理路由
func (this *SCompGateRoute) RegisterRoute(methodName string, comp reflect.Value, msg reflect.Type, handele reflect.Method) {
log.Debugf("注册用户路由【%s】", methodName)
//log.Debugf("注册用户路由【%s】", methodName)
this.mrlock.RLock()
_, ok := this.msghandles[methodName]
this.mrlock.RUnlock()