5在indexml页面,使用for循环遍历输出indexjs传递过来的数据data,通过item将data数据输出在页面6在服务端新建一个apiphp页面来接收微信小程序的数据请求7最后编译微信小程序,查看从数据表type获得数据内容。