调试日志

This commit is contained in:
junleea 2025-03-28 15:17:23 +08:00
parent cd00f65ebe
commit eb67ddb45b
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ func doReceiveGenChatMessage(userId int, sessionID *uint, data *proto.WSMessageR
var model dao.Model var model dao.Model
//查看请求功能类型 //查看请求功能类型
models, funcs := service.FindFuncModelByFunction(data.Function, userId) models, funcs := service.FindFuncModelByFunction(data.Function, userId)
log.Println("find function model by function:", models, funcs)
if funcs == nil || len(funcs) == 0 { if funcs == nil || len(funcs) == 0 {
return errors.New("function not exist") return errors.New("function not exist")
} }