Last active
August 29, 2015 14:02
-
-
Save mamboer/a9d21344414821beb6f1 to your computer and use it in GitHub Desktop.
newslist data dictionary for sgz.qq.com app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 首页分类+快捷入口+百宝箱数据 */ | |
{ | |
//首页分类 | |
"cates":[ | |
{ | |
"id":"分类ID", | |
"name":"分类名称" | |
} | |
], | |
//快捷入口 - 更多 | |
"channels":[ | |
{ | |
"group":"资讯", | |
"items":[ | |
{ | |
"id":"编号" | |
"name":"名称", | |
"icon":"图标URL", | |
"action":"快捷入口对应的URL,或者app内部的action。外部URL采用http协议,内部action采用自定义的app://协议" | |
} | |
] | |
}, | |
{ | |
"group":"资料&攻略", | |
"items":[ | |
{ | |
"id":"编号" | |
"name":"名称", | |
"icon":"图标URL", | |
"action":"快捷入口对应的URL,或者app内部的action。外部URL采用http协议,内部action采用自定义的app://协议" | |
} | |
] | |
} | |
], | |
//百宝箱 | |
"toolbox":{ | |
"tools":[ | |
{ | |
"id":"编号" | |
"name":"名称", | |
"icon":"图标URL", | |
"action":"快捷入口对应的URL,或者app内部的action。外部URL采用http协议,内部action采用自定义的app://协议" | |
} | |
], | |
"apps":[ | |
{ | |
"id":"app编号" | |
"name":"app名称", | |
"icon":"图标URL", | |
"action":"快捷入口对应的URL,或者app内部的action。外部URL采用http协议,内部action采用自定义的app://协议" | |
} | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 新闻列表数据 */ | |
{ | |
"catalog":1, //新闻分类id | |
"newsCount":0,//新闻总数 (可选) | |
"prevPageId":"上一页ID", | |
"nextPageId":"下一页ID", | |
"items":[ | |
{ | |
"id":"新闻id", | |
"title":"新闻标题", | |
"desc":"新闻描述", | |
"cateName":"分类名称", | |
"cateId":"分类ID", | |
"commentCount":"评论数",//可选 | |
"voteCount":"赞数", | |
"favCount":"收藏数", | |
"author":"作者昵称",//可选,默认可以是游戏名称 | |
"authorid":"作者id",//可选 | |
"pubDate":"发布日期"//格式:2014-05-26 06:42:18 | |
"url":"新闻地址", | |
"cover":"新闻封面图片",//可选 | |
"evtStartAt":"活动开始时间",//可选。如果分类是活动时必须,格式同pubDate | |
"evtEndAt":"活动结束时间"//可选。如果分类是活动时必须,格式同pubDate | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 公告信息数据 */ | |
{ | |
"items":[ | |
{ | |
"id":"公告id", | |
"title":"公告标题", | |
"desc":"公告描述", | |
"cateName":"分类名称", | |
"cateId":"分类ID", | |
"author":"作者昵称",//可选,默认可以是游戏名称 | |
"authorid":"作者id",//可选 | |
"pubDate":"发布日期"//格式:2014-05-26 06:42:18 | |
"url":"新闻地址", | |
"cover":"新闻封面图片",//可选,有图片则为图片轮播用,如无则为文字公告用 | |
"evtStartAt":"活动开始时间",//可选。如果分类是活动时必须,格式同pubDate | |
"evtEndAt":"活动结束时间"//可选。如果分类是活动时必须,格式同pubDate | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment