Open wangguangzhong opened 4 years ago
在小程序里面报错“VM228 asdebug.js:1 GET http://localhost:3003/api/category/sub?pId=1 401 (Unauthorized)” 运行链接时会出现以下内容,请问该如何操作 {"status":401,"name":"UnauthorizedError","message":"No authorization token was found","code":"credentials_required","inner":{"message":"No authorization token was found"}}
此小程序需要一个后台程序提供API,请转到 https://github.com/luotuo19880328/nodejs-mysql-wechat,本地部署好后台程序,记得修改成自己微信开发平台的appid
在小程序里面报错“VM228 asdebug.js:1 GET http://localhost:3003/api/category/sub?pId=1 401 (Unauthorized)” 运行链接时会出现以下内容,请问该如何操作 {"status":401,"name":"UnauthorizedError","message":"No authorization token was found","code":"credentials_required","inner":{"message":"No authorization token was found"}}