调试日志
This commit is contained in:
parent
cd00f65ebe
commit
eb67ddb45b
|
|
@ -199,6 +199,7 @@ func doReceiveGenChatMessage(userId int, sessionID *uint, data *proto.WSMessageR
|
|||
var model dao.Model
|
||||
//查看请求功能类型
|
||||
models, funcs := service.FindFuncModelByFunction(data.Function, userId)
|
||||
log.Println("find function model by function:", models, funcs)
|
||||
if funcs == nil || len(funcs) == 0 {
|
||||
return errors.New("function not exist")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue