0
点赞
收藏
分享

微信扫一扫

Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse

陆佃 2022-10-12 阅读 157


 调用php接口没有返回数据,导致json转换出错。提示在UserFunc.php的659行,调用sqlsrv_fetch_array()方法处理出错.

Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse_存储过程

明确错误所在文件位置后,打开出错文件 

Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse_php_02

发 现该文件执行GSP_WEB_GetUserLobbyTips存储过程并没有数据返回

Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse_php_03

 数据库后台修改储存过程,并增加返回数据,问题解决

 

举报

相关推荐

0 条评论