老师为什么我小程序加载下来的数据是这种格式的?
来源:11-3 使用ES6构建面向对象的JS代码及访问服务器API获取数据
勉强ing
2018-09-05
写回答
1回答
-
勉强ing
提问者
2018-09-05
不是json格式的,而是success{"id":1,"name":"首页置顶","description":"首页轮播图","delete_time":null,"update_time":"1970-01-01 08:00:00","item":[{"id":1,"img_id":3,"banner_id":1,"img":{"id":3,"url":"http:\/\/localhost\/images\/kakak.com","from":2}},{"id":2,"img_id":2,"banner_id":1,"img":{"id":2,"url":"http:\/\/localhost\/images\/hehe.com","from":1}},{"id":3,"img_id":1,"banner_id":1,"img":{"id":1,"url":"http:\/\/localhost\/images\/haha.com","from":1}}]}
012018-09-09
相似问题