Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

未找到mongoDB设置,不用云开发接口报错,且报错如下 #23

Open
haigle0127 opened this issue Mar 26, 2022 · 0 comments
Open

Comments

@haigle0127
Copy link

req start path = /api/question/list/recommend, clientIp = ::1, params = {"size":12}
req error path = /api/question/list/recommend, clientIp = ::1, params = {"size":12} MyError: 未登录
at getLoginUser (D:\code\mianshiya-public\server\src\service\user\userService.js:17:11)
at exports.main (D:\code\mianshiya-public\server\src\service\question\listRecommendQuestions\index.js:17:29)
at handler (D:\code\mianshiya-public\server\src\server.js:97:24)
at Layer.handle [as handle_request] (D:\code\mianshiya-public\server\node_modules\express\lib\router\layer.js:95:5)
at next (D:\code\mianshiya-public\server\node_modules\express\lib\router\route.js:137:13)
at Route.dispatch (D:\code\mianshiya-public\server\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (D:\code\mianshiya-public\server\node_modules\express\lib\router\layer.js:95:5)
at D:\code\mianshiya-public\server\node_modules\express\lib\router\index.js:281:22
at Function.process_params (D:\code\mianshiya-public\server\node_modules\express\lib\router\index.js:341:12)
at next (D:\code\mianshiya-public\server\node_modules\express\lib\router\index.js:275:10) {
code: 401
}
req start path = /api/user/list/rank, clientIp = ::1, params = {"cycle":1,"countDate":"2022-03-01","pageSize":3}
req error path = /api/user/list/rank, clientIp = ::1, params = {"cycle":1,"countDate":"2022-03-01","pageSize":3} TcbError: secret id error
at Object.exports.E (D:\code\mianshiya-public\server\node_modules@cloudbase\node-sdk\lib\utils\utils.js:29:12)
at processReturn (D:\code\mianshiya-public\server\node_modules@cloudbase\node-sdk\lib\utils\utils.js:67:19)
at Object.exports.default (D:\code\mianshiya-public\server\node_modules@cloudbase\node-sdk\lib\utils\httpRequest.js:377:20)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Query.get (D:\code\mianshiya-public\server\node_modules@cloudbase\database\dist\commonjs\query.js:72:21)
at async exports.main (D:\code\mianshiya-public\server\src\service\user\listUserCycleRank\index.js:20:25)
at async handler (D:\code\mianshiya-public\server\src\server.js:97:18) {
code: 'SIGN_PARAM_INVALID',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant