去掉不需要的打印信息
This commit is contained in:
parent
dfcd65eecd
commit
cfc9a018f0
@ -11,7 +11,7 @@ import (
|
|||||||
//参数校验
|
//参数校验
|
||||||
func (this *apiComp) DelMailCheck(session comm.IUserSession, req *pb.MailDelMailReq) (code pb.ErrorCode) {
|
func (this *apiComp) DelMailCheck(session comm.IUserSession, req *pb.MailDelMailReq) (code pb.ErrorCode) {
|
||||||
if session.GetUserId() == "" || req.ObjID == "" {
|
if session.GetUserId() == "" || req.ObjID == "" {
|
||||||
code = pb.ErrorCode_NoLogin
|
code = pb.ErrorCode_ReqParameterError
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
func (this *apiComp) ReadMailCheck(session comm.IUserSession, req *pb.MailReadMailReq) (code pb.ErrorCode) {
|
func (this *apiComp) ReadMailCheck(session comm.IUserSession, req *pb.MailReadMailReq) (code pb.ErrorCode) {
|
||||||
if session.GetUserId() == "" || req.ObjID == "" {
|
if session.GetUserId() == "" || req.ObjID == "" {
|
||||||
code = pb.ErrorCode_NoLogin
|
code = pb.ErrorCode_ReqParameterError
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
@ -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) {
|
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()
|
this.mrlock.RLock()
|
||||||
_, ok := this.msghandles[methodName]
|
_, ok := this.msghandles[methodName]
|
||||||
this.mrlock.RUnlock()
|
this.mrlock.RUnlock()
|
||||||
|
Loading…
Reference in New Issue
Block a user