You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2022-12-25T08:52:29.403Z INFO search service/search.go:230 json: cannot unmarshal string into Go struct field Department.departments.attr of type int {"Request-Id": "3yvdcujeakg0-f4ZM66PlX1WC"}
2022-12-25T08:52:30.495Z ERROR search.user service/user.go:193 search user {"error": "json: cannot unmarshal string into Go struct field Department.departments.attr of type int"}
2022-12-25T08:52:30.495Z INFO search service/search.go:230 json: cannot unmarshal string into Go struct field Department.departments.attr of type int {"Request-Id": "3yvdcwlw9jpc-C7tA5GG6cLx0"}
2022-12-25T08:52:29.403Z INFO search service/search.go:230 json: cannot unmarshal string into Go struct field Department.departments.attr of type int {"Request-Id": "3yvdcujeakg0-f4ZM66PlX1WC"}
2022-12-25T08:52:29.403Z INFO gin/logger.go:50 [GIN] {"Request-Id": "3yvdcujeakg0-f4ZM66PlX1WC", "latency": 0.007911626, "clientIP": "10.233.92.64", "method": "GET", "statusCode": 400, "errorMessage": "", "bodySize": 157, "path": "/api/v1/search/user?query=%7Bquery%28departmentID%3A%221%22%2Cname%3A%22%22%2Cpage%3A1%2Csize%3A10%29%7Busers%7Bid%2Cphone%2Cposition%2Cemail%2Cname%2CuseStatus%2Cdepartments%7Bid%2Cname%2Cattr%7D%2Cleaders%7Bid%2Cname%2Cattr%7D%7D%2Ctotal%7D%7D"}
2022-12-25T08:52:30.495Z INFO router.elastic logger/pack_logr.go:38 POST http://elasticsearch-data-0.elasticsearch-data.lowcode.svc.cluster.local:9200/user/_search [status:200, request:0.011s]
2022-12-25T08:52:30.495Z ERROR search.user service/user.go:193 search user {"error": "json: cannot unmarshal string into Go struct field Department.departments.attr of type int"}
github.com/quanxiang-cloud/search/internal/service.(*user).resolve
github.com/graphql-go/graphql.resolveField
github.com/graphql-go/graphql.executeSubFields
github.com/graphql-go/graphql.executeFields
github.com/graphql-go/graphql.executeOperation
github.com/graphql-go/graphql.Execute.func2
2022-12-25T08:52:30.495Z INFO search service/search.go:230 json: cannot unmarshal string into Go struct field Department.departments.attr of type int {"Request-Id": "3yvdcwlw9jpc-C7tA5GG6cLx0"}
2022-12-25T08:52:30.495Z INFO gin/logger.go:50 [GIN] {"Request-Id": "3yvdcwlw9jpc-C7tA5GG6cLx0", "latency": 0.016241543, "clientIP": "10.233.92.64", "method": "GET", "statusCode": 400, "errorMessage": "", "bodySize": 157, "path": "/api/v1/search/user?query=%7Bquery%28departmentID%3A%221%22%2Cname%3A%22%22%2Cpage%3A1%2Csize%3A10%29%7Busers%7Bid%2Cphone%2Cposition%2Cemail%2Cname%2CuseStatus%2Cdepartments%7Bid%2Cname%2Cattr%7D%2Cleaders%7Bid%2Cname%2Cattr%7D%7D%2Ctotal%7D%7D"}
The text was updated successfully, but these errors were encountered: