某java大神教我写的测试假数据,批量三十条:
var arr = Array(30).fill().map((item, index)=>{
return {
"avatar": "",
"content": "123456",
"createTime": "1210",
"goodsCommentPicList": [
{
"id": index,
"image": "",
"type": 2
}
],
"id": index,
"isReply": 0,
"nickName": "",
"rate": 0,
"replyContent": "",
"shopLogo": "",
"shopName": "",
"updateTime": ""
}
});