登陆接口返回值我顺便贴出来
{"errors":[{"message":"500: Internal Server Error","locations":[{"line":3,"column":11}],"path":["login"],"extensions":{"code":"INTERNAL_SERVER_ERROR","response":{"url":"http://127.0.0.1:10010/user/login","status":500,"statusText":"Internal Server Error","body":{"code":500,"message":"Topology was destroyed"}},"exception":{"stacktrace":["Error: 500: Internal Server Error"," at UserAPI. (/var/www/gqlDemo/node_modules/apollo-datasource-rest/dist/RESTDataSource.js:79:25)"," at Generator.next ()"," at /var/www/gqlDemo/node_modules/apollo-datasource-rest/dist/RESTDataSource.js:7:71"," at new Promise ()"," at __awaiter (/var/www/gqlDemo/node_modules/apollo-datasource-rest/dist/RESTDataSource.js:3:12)"," at UserAPI.errorFromResponse (/var/www/gqlDemo/node_modules/apollo-datasource-rest/dist/RESTDataSource.js:69:16)"," at UserAPI. (/var/www/gqlDemo/node_modules/apollo-datasource-rest/dist/RESTDataSource.js:50:34)"," at Generator.next ()"," at /var/www/gqlDemo/node_modules/apollo-datasource-rest/dist/RESTDataSource.js:7:71"," at new Promise ()"," at __awaiter (/var/www/gqlDemo/node_modules/apollo-datasource-rest/dist/RESTDataSource.js:3:12)"," at UserAPI.didReceiveResponse (/var/www/gqlDemo/node_modules/apollo-datasource-rest/dist/RESTDataSource.js:45:16)"," at UserAPI. (/var/www/gqlDemo/node_modules/apollo-datasource-rest/dist/RESTDataSource.js:155:43)"," at Generator.next ()"," at fulfilled (/var/www/gqlDemo/node_modules/apollo-datasource-rest/dist/RESTDataSource.js:4:58)"," at "]}}}],"data":null}