thinkphp5.1接口返回json偶尔会出现这样的

浏览:453 发布日期:2020/12/03 分类:ThinkPHP5专区 关键字: thinkphp5.1
正常情况下是返回json,偶尔会出现json之前加上一段json,里边是请求接口的参数。有人碰到过这种情况吗?
发不了图片,只能发这样的了{"appid":"xxxxxxxxx"}{"code":200,"msg":"success","data":{"nick_name":"xxxxxxx","head_img":"xxxxxxxxxx","module_list":[{"module_id":8,"path":"345r","appid":"xxxxxxxx","front_name":"点餐","module":"room"},{"module_id":7,"path":"","appid":"","front_name":"超级会员","module":"svip"},{"module_id":1,"path":"","appid":"","front_name":"商城","module":"shop"},{"module_id":2,"path":"","appid":"","front_name":"我的","module":"member"}]}}
最佳答案
评论( 相关
后面还有条评论,点击查看>>