当前位置:   article > 正文

接口报错500是什么意思_项目源代码部分的小程序接口报500错误,但浏览器打开正常...

_ids=500

我尝试直接复制链接至浏览器可以正常返回数据,但是在小程序中运行,一直报500错误。

小程序停留一直加载中。不知是什么问题。

小程序调试打印内容

asdebug.js:1 GET http://menchaitob.me/index.php/api/v1/product/recent 500 (Internal Server Error)v @ asdebug.js:1a @ asdebug.js:1r @ WAService.js:4u @ WAService.js:4request @ WAService.js:3(anonymous function) @ WAService.js:4request @ base.js [sm]:25getProductorData @ home-model.js [sm]:45_loadData @ home.js [sm]:31(anonymous function) @ WAService.js:7onLoad @ home.js [sm]:8(anonymous function) @ WAService.js:7A @ WAService.js:7O @ WAService.js:7j @ WAService.js:7(anonymous function) @ WAService.js:7(anonymous function) @ WAService.js:7(anonymous function) @ WAService.js:4(anonymous function) @ WAService.js:4(anonymous function) @ WAService.js:4(anonymous function) @ asdebug.js:1n.emit @ asdebug.js:1r @ asdebug.js:1g @ asdebug.js:1(anonymous function) @ asdebug.js:1

base.js [sm]:60 Object {errMsg: "request:ok", data: Array[15], header: Object, statusCode: 500}

asdebug.js:1 GET http://menchaitob.me/index.php/api/v1/theme?ids=1,2,3 500 (Internal Server Error)v @ asdebug.js:1a @ asdebug.js:1r @ WAService.js:4u @ WAService.js:4request @ WAService.js:3(anonymous function) @ WAService.js:4request @ base.js [sm]:25getThemeData @ home-model.js [sm]:34_loadData @ home.js [sm]:23(anonymous function) @ WAService.js:7onLoad @ home.js [sm]:8(anonymous function) @ WAService.js:7A @ WAService.js:7O @ WAService.js:7j @ WAService.js:7(anonymous function) @ WAService.js:7(anonymous function) @ WAService.js:7(anonymous function) @ WAService.js:4(anonymous function) @ WAService.js:4(anonymous function) @ WAService.js:4(anonymous function) @ asdebug.js:1n.emit @ asdebug.js:1r @ asdebug.js:1g @ asdebug.js:1(anonymous function) @ asdebug.js:1

asdebug.js:1 GET http://menchaitob.me/index.php/api/v1/banner/1 500 (Internal Server Error)v @ asdebug.js:1a @ asdebug.js:1r @ WAService.js:4u @ WAService.js:4request @ WAService.js:3(anonymous function) @ WAService.js:4request @ base.js [sm]:25getBannerData @ home-model.js [sm]:24_loadData @ home.js [sm]:16(anonymous function) @ WAService.js:7onLoad @ home.js [sm]:8(anonymous function) @ WAService.js:7A @ WAService.js:7O @ WAService.js:7j @ WAService.js:7(anonymous function) @ WAService.js:7(anonymous function) @ WAService.js:7(anonymous function) @ WAService.js:4(anonymous function) @ WAService.js:4(anonymous function) @ WAService.js:4(anonymous function) @ asdebug.js:1n.emit @ asdebug.js:1r @ asdebug.js:1g @ asdebug.js:1(anonymous function) @ asdebug.js:1

base.js [sm]:60 Object {errMsg: "request:ok", data: Array[3], header: Object, statusCode: 500}

base.js [sm]:60 Object {errMsg: "request:ok", data: Object, header: Object, statusCode: 500}

WAService.js:7 Invoke event onReady in page: pages/home/home

WAService.js:7 pages/home/home: onReady have been invoked

asdebug.js:1 POST http://menchaitob.me/index.php/api/v1/token/user 500 (Internal Server Error)

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/321236
推荐阅读
相关标签
  

闽ICP备14008679号