Last modified 8 years ago
Table of Contents
实体属性说明
爆料:
topic:{
topicId: 2395585,
showSourceDesc: "显示直达链接", // 是否显示直达链接:不显示直达链接,显示直达链接
sectionDesc: "发现", // 栏目描述 "优惠", "海淘", "发现", "晒物", "经验", "海淘晒物", "海淘经验", "试用体验", "专题"
commentCount: 0, //评论数
title: "有钱你就来", //标题
section: 1, // 栏目:0 优惠 1 海淘 2 发现 3 晒物 4 经验 5 海淘晒物 6 海淘经验 7 试用体验 8 专题 9 论坛 (34原创包括:3,4,5,6,7)
topSection: 1 // 顶级的栏目id:0优惠,1海淘,2 发现,3 晒物,4经验
isSupportPurchasing: 1, // 是否支持代购
brandId: 1, // 品牌ID
shortTitle: "超值商品推荐" // 短标题
formerPrice: 20.01, // 原价
currentPrice: 20.00, // 现价
discount: 0.85, // 折扣
topicType: {
typeId: 1,
name: '数码家电'
}, // 爆料类型
topicTagList:[$topicTag], // 聚超值标签
topicBabyTagList:[$topicTag], // 母婴生活馆标签
mallName: "京东", // 电商名称
mallId: 1, // 电商id
price: "五折对低价199", // 价格描述
findPlace: "魅族官网", // 发现地
source: "http://detail.tmall.com/item.htm?id=36688625539", // 返利链接
wapSource: "", // 默认wap连接
sourceMore: 1, // 是否多链接
findPlaceOption:1, // 来源标识 0:电商 1: 第三方
activityUrl: "http://best.pconline.com.cn", // 优惠活动链接
pubDate: 13215412512000, // 发布时间,时间戳 毫秒
goldAmount: 10, // 爆料者获得的金币
top: 1, // 是否置顶
overdueStatus: 1, // 是否过期
recommendIndex: 1, // 是否推荐首页
goodCount: 2, // 好评数
badCount:3, // 差评数
favoriteCount: 12, // 收藏数
endTime: 13251245121000, // 优惠截止时间
area: "广东", // 购买地区
mall: $mall, // 所属电商
email: "123456@qq.com",
createName: "Jason@qq.com", // 创建者名称
createNamePrefix: "Jason", // 创建者名称,邮箱前缀
topicTypeName: "数码家电", // 爆料所属分类名称
showDefaultIndex: 1, // 母婴是否首页显示
reason: "该爆料已经推荐过", // 审核理由
originalSource: "http://best.pconline.com.cn/1.do", // 原始链点
showSource: 1, // 是否显示直达链接
commitClientType: 1, // 爆料来源:0 pc 1 app
channelId: 12, // 计数器栏目id
topicBuyCount: {
topicId: 123,
addCount: 12, // 10分钟内的新增数量
totalCount: 20 // 总数量
},
purchasingCount: {
topicId: 123,
addCount: 12, // 10分钟内的新增数量
totalCount: 20 // 总数量
},
imagesForList: ["http://www.a.b/a.png"],
isPurchasing: 1, // 当前爆料该商家是否已经代购
leastLevel: $topicType, // 最低级分类
firstLevel: $topicType, // 爆料一级分类
isWlt:1, // 是否瓦拉淘支持的电商
wltAlert: "http://best.pconline.com.cn/1.action", // 获得瓦拉淘降价提醒的链接
mallType: 1 // 0 国内电商 1 国外电商
hasCoupon: 0, // 是否有优惠券,适用于 优惠,海淘
cover: "",
hdCover: "http://www.google.com/1.png", // 高清图,适用于晒物,经验,试用体验
ShowPicForApp: 1 // 是否白菜价合集
reason: // 理由,会根据auditStatus出不同文本信息。
auditStatus: 1, // 审核状态。 "0待审", "1已审", "2禁用", "3审核不通过", "4正在处理", "5兼职待审", "6需修改"
showModeForApp: 0, //经验晒物两种展示方式: 0.小图模式 1.大图模式 (add 20150901)
isOfficialPurchasing: 0 //0不支持官方代购,1支持官方代购,
artUrl: "http://best.pconline.com.cn/haitao/178445.html", //app爆料分享(爆料pc端页面) 2.3.0新增
wapArtUrl: "http://g.pconline.com.cn/best/youhui/178157.html", //爆料wap端页面 2.3.0新增
synopsis: "买买买买买买买买买买买买买买买买买买..." //爆料简介 2.3.0新增
//app2.3.0去看看:source > wapSource > originalSource 按优先级显示有值的属性
//3D touch 标题:title 图片参照app爆料列表的爆料展示字段
couponUrl: "https://s.click.taobao.com/QPDU5Tw", //优惠券链接
couponPrice: 25, //优惠券额度
bestBuyLink: "https://s.click.taobao.com/gMBU5Tw", //购买链接
}
爆料类型
topicType: {
typeId: 1,
name: '数码家电',
level: 1 // 分类等级,
iconImg2: 'http://best.pconline.com.cn/1.png' // 分类图标
iconImg3: 'http://best.pconline.com.cn/1.png' // 3.0分类图标
}
爆料标签
topicTag: {
tagId: 1, // 标签Id
name: "白菜价", // 标签名称
isHot: 1, // 是否热门标签
isSpecial: 1, // 是否特色标签
isRed:1, // 是否套红
description: "最低白菜价", // 标签描述
type: 1 // 0 聚超值 1 母婴生活馆
}
爆料来源
topicSource: {
sourceId: 1, // 来源id
topicId: 1321, // 爆料id
title: "广式菠萝啤", // 标题
uri: "http://chaoshi.tmall.com/detail/view_detail.htm?spm=3.583907.6780765.7.ahUZyv&item_id=20173439873&rewcatid=50514008",
originalUri: "www.qq.com",
wapUri: ""
}
爆料优惠券码
TopicCouponRelation: {
id: 123456, //id
topicId: 123456, //爆料id
favorableCode: "亚马逊:aaaa1111aa", //优惠码
code: "aaaa1111aa", //纯优惠码
}
发出的评论
sendComment: {
commentId: 37283120,
currentFloor: 2,
createAt: 1362123452000,
isSupportPurchasing: 0,
textCommentContent: "怎么还要定金的呢",
topicId: 80671,
topicLogo: "http://img.pconline.com.cn/images/upload/upc/tx/pc_best/1410/28/c0/40244951_1414478236223_150x150.jpg",
topicTitle: "双11预售:佳能 单反相机 1200D/18-55 套机",
topicType: 0, //0优惠,1海淘, 2发现,3晒物,4经验
topicURLForPCWeb: "http://best.pconline.com.cn/faxian_80671.html", // 评论所属爆料对应的网站链接
// topicUrl: "http://best.pconline.com.cn/discovery_art.jsp?topicId=80671", // 爆料的链接
urlForComment: "http://best.pconline.com.cn/discovery_art.jsp?topicId=80671", // 发表评论时需要一起提交这个字段
senderNickName: "qz31244533", // 发表评论者昵称
senderFace: "http://i1.3conline.com/images/upload/upc/face/28/46/70/67/28467067_100x100" // 发表评论者头像
}
收到的评论
receiveComment: {
commentId: 37283120,
currentFloor: 2,
createAt: 1362154214000,
isSupportPurchasing: 0,
topicId: 80671,
topicLogo: "http://img.pconline.com.cn/images/upload/upc/tx/pc_best/1410/28/c0/40244951_1414478236223_150x150.jpg",
topicTitle: "双11预售:佳能 单反相机 1200D/18-55 套机",
topicType: 0, //0优惠,1海淘, 2发现,3晒物,4经验
topicURLForPCWeb: "http://best.pconline.com.cn/faxian_80671.html", // 评论所属爆料对应的网站链接
// topicUrl: "http://best.pconline.com.cn/discovery_art.jsp?topicId=80671", // 爆料的链接
urlForComment: "http://best.pconline.com.cn/discovery_art.jsp?topicId=80671", // 发表评论时需要一起提交这个字段
senderId: 1, // 评论者ID,匿名回复则为0
senderFace: "http://i1.3conline.com/images/upload/upc/face/28/46/70/67/28467067_100x100", // 发送者的头像
senderNickName: "qz31244533", // 发送者的昵称
sendCommentContent: "怎么还要定金的呢", // 发送的评论
userface: "http://i1.3conline.com/images/upload/upc/face/31/24/45/33/31244533_100x100", // 被回复的头像
username: "arthinking", // 被回复的昵称
replyRefContent: ""看起来不错哦"", // 获取简短的被回复的评论内容,超过10个字符使用......表示
client: 1 //1:pc 2:Android 3 iPhone 4 新浪 5 QQ 6 wap版 7 微信
seen: 1 //0已读,1未读
}
系统信息
{
accountId: 4712407,
content: "恭喜您刮中了“神秘奖-聚超值积分10个”,请在小金库中查收,感谢您参加“聚超值刮刮乐”活动!",
createTime: 1400042156000,
groupSend: 0,
groupType: 0,
id: 81120957,
resultText: "",
senderId: 0,
siteId: 1,
status: 1,
type: {
description: "今日最超值",
groupType: 0,
id: 1006,
name: "今日最超值",
siteId: 1,
templateId: 1006
},
typeId: 1006
栏目
section {
value: 1,
name: '海淘'
}
栏目搜索结果
sectionExtend{
value: 1,
name: '海淘',
count: 12
}
新增属性:
hasCoupon hdCover
推荐位
adPosition:{
adId: 51,
adTitle: "好东西哇",
price: "12块包邮",
imageUrl: "",
positionIndex: 5, // 用途 0 焦点图下方广告、1 置顶广告
topic: {
$topic
},
url: "http://g.pconline.com.cn/a/73727.html", // 跳转链接
urlType: 1, // 1 爆料 2 网页,
seq:3 // 排序,插入到首页的位置
}
礼品
gift: {
giftId: 1
subGiftDesc: "好礼物", // 个人中心相关礼品介绍截取100字符字段
giftDesc: "和哈哈哈哈哈哈", // 完整礼品介绍
giftStock: $giftStock,
giftExchangeRule: $giftExchangeRule,
name: "京东卡",
mallName: '京东', // 电商名称
type: 1, // 礼品类型: 1 礼品卡 2 实物礼品 3 优惠券
imageUrl: "http://a.cn/1.png", // 图片
orderNum: 1, // 排序
giftPrice: 12.00, // 礼品价格
createTime: 13251245124000, // 创建时间
discount: "满400减20", // 优惠券额度
expiryDate: 13621321521000, // 有效期
mallId: 12, // 电商Id
remainingDay:2 // 当前时间距离优惠券过期的天数
giftDesc:$giftDesc // 优惠券描述(使用规则)
mallUrl : '优惠券商家' // 优惠券商家URL
}
金币记录
moneyLog: {
logId: 1
userId: "213", // 用户id
moneyType: 1, // 1金币,2经验,3积分,4威望,5钻石
typeName: "金币" // 类型名称
money: ±10, // 增加或减少数值
reason: "签到", // 原因
createAt: 13251245124000, // 创建时间
}
优惠券
giftCoupon: {
gift: $gift,
couponId: 123, // 优惠券Id
giftId: 123, // 礼品Id
cardNum: '1232',
cardPassword: 's123sdssdfs54212',
status: 1, // 状态0:禁用;1:未领取;2:已领取
createAt: 1352125412000, // 创建时间
createrId: 132, // 创建人id
updateAt: 13215478541000, // 更新时间
updaterId: 132,
updateName: "Jason", // 更新人
createName: "Jason", // 创建人
useDate: 13212457451000, // 被领取时间
}
兑换记录
giftExchange: {
exchangeId: 123, // 兑换Id
giftName: "好卡", // 礼品名称
exchangeCode: '1232', // 兑换编码
num: 2, // 兑换礼品数量
mallId: 1, // 电商Id
mallName: "淘宝", // 电商名称
userId: 132, // 用户id
userName: "Jason", // 用户名称
status: 1, // 状态 0、取消;1、待审核确认;2、已审核确认待发货;3、已发货
createTime: 1412345678112, // 兑换时间
email: "123456789@qq.com" // 电子邮件
address: "a b", // 地址
phone: 12345678912, // 电话号码
postalcode: 123465, // 邮编
person: "Jason", // 收货人
exchangeMemo: "无", // 兑换备注
cardNum: "a123", // 卡号
gift: $gift
cardPassword: "123456", // 密码
expiryDate: 1412345678123, // 有效期
statusStr: "已发货", // 状态描述
giftTypeStr: "优惠券", // 礼品类型描述
expiry: 1, // 是否有效 true 有效 false 过期
expressName: "顺丰", // 快递公司
expressNum: "111111111" // 快递编号
}
礼品兑换规则
giftExchangeRule: {
ruleId: 1,
giftId: 2, // 礼品ID
needScore: 10, // 兑换需要消耗的积分
needGold: 2, // 兑换需要消耗的金币
needDiamond: 998 // 兑换需要消耗的钻石 2.3.0新增
limitTimes: 10 // 领取次数限制
}
礼物描述
giftDesc:{
giftId: 123,
giftDesc:"好礼物", // 礼物描述
subGiftDesc: "好礼物" // 个人中心相关礼品介绍截取100字符字段
}
礼品库存
giftStock:{
giftId: 123,
stockNum: 12, // 剩余库存
totalStockNum: 20, // 总库存
createTime: 13215467895000, // 创建时间
changeNum: 1 // 已领取数量
}
代购商家
purchasing: {
purchasingId: 1,
price: 123, // 价格
hasSpotGoods: 1, // 是否有现货:0 现货/1 代购
link: "http://www.taobao.com/item_1.html", // 代购地址
description: "超值代购", // 代购商家描述
userId: 12, // 代购商家id
topicId: 12, // 爆料id
user: $user
// topic: $topic
}
专题
special: {
specialId:1,
title: "双十一精选",
cover: "http://img.pconline.com.cn/1.png",
url: "http://g.pconline.com.cn/link/a.html"
}
新增属性
新增实体
首页看点
appSunplazaEntry: {
type: 1, // 1 标签爆料列表,2 分类爆料列表,3 电商爆料列表,4 爆料终端页,5 专题页,6 试用详情页,7 外链,8 搜索结果页,9商家优惠券列表 11 专题列表页 12 电商活动列表页 13 优惠券列表页 14 白菜价 15 帖子终端页
value: {tagName or {mallName,mallType} or catId or {topicId,topSection} or trialId or url or keyword},
icon: "http://img.pconline.com.cn/1.png",
name: "白菜价"
}
新增属性
新增实体
标签
tag: {
id: 1,
name: "精选"
}
分类
topicType: {
id: 1,
name: "数码家电"
}
电商
mall: {
mallId: 1,
name: "京东",
url: "http://www.jd.com", // 电商URL
seq: 12, // 排序
typeId: 1, // 国内外电商 0国内电商 1国外电商
areaType: 1, // 地域类型 0其他电商 1美淘电商 2日淘电商 3欧淘电商
imageUrl: "http://img.pc.com.cn/1.png"
}
电商优惠券数量vo
mallGiftCount: {
$mall,
count:20
}
活动
activity{
activityId: 1,
cover: "http://1.c.cn/1.png", // PC活动封面
appCover: "http://1.c.cn/2.png", // app活动封面
title: "亚马逊精选礼品图书满300-100",
url: "http://www.a.cc/w.do", // 链点
urlType: 1 // 爆料终端页 2 外部网页链接
topicId: 123, // 爆料id
sectionId: 1, // 栏目id
sectionType: 1, // 爆料类型 0 优惠 1 海淘 2 发现 3 晒物 4 经验
topicTitle: "好东西", // 爆料标题
description: "好活动", // 活动描述
seq: 1, // 排序
isTop: 1, // 是否置顶,1 是 0 否
isHaiTao: 1, // 是否海淘活动,1 是 0 否
isMall: 1, // 是否电商活动,1 是 0 否
createAt: 13251245121000,
}
设置活动
setupActivity{
$activity,
seq: 1
}
用户信息
user: {
userId: 12,
name: "Jason", // 用户名
nickName: "Jason", // 昵称
email: "Jason@gg.cc", // 电子邮件
face: "http://img.a.b/1.png", // 头像
goldAmount:12, // 金币
score: 10, // 积分
levelId: 12, // 等级Id
experience: 12, // 经验
createAt:135212544845000, // 创建时间
pristige: 10, // 威望值
isBlack: 1, // 是否黑名单
purchasingGold:10, // 钻石
isPurchasing: 1 // 1:代购商家 0:求购买家
}
用户扩展信息
userExtend: {
topicNum: 1, //用户发表的爆料数量
favNum: 10,
couponNum: 2 //用户的未过期优惠劵数量
}
用户签到记录
checkinLog: {
checkinLogId: 1234 //记录id
userId: 23333333 //用户id
signType: 0, //签到类型: 0:普通,1:APP
replenish: 0 //0 签到,1补签
score: 10, //奖励积分
gold: 10, //奖励金币
experience: 10, //奖励经验
pristige: 10, //奖励威望
purchasingGold: 10, //奖励钻石
signAt: 135212544845000 // 签到或补签时间
createAt: 135212544845000 // 创建时间
}
奖励规则
award: {
awardId: 1111, //id
description: "签到奖励", //说明
score: 0, //积分
experience: 0, //经验
gold: -2, //金币
pristige: 0, //威望
purchasingGold: 16 //钻石
totalCount: 1, //次数限制
}
焦点图
focusImage: {
focusImageId: 12,
typeId: 爆料类型Id
imageUrl: "http://img.pconline.com.cn/7.jpg", // 焦点图
seq: 1,
positionIndex: 1, // 0 app端焦点图、1 wap端焦点图、2 pc端首页焦点图、3 pc端海淘焦点图、4 PC端晒货焦点图、5 PC端经验焦点图、6 WAP端首页焦点图、7 wap端海淘焦点图、8 wap端发现焦点图、9 wap端晒物焦点图、10 wap端经验焦点图
focusTitle: "现货直接买!iPhone6 Plus 64G三网通5K1", // 标题
topicId: 125, // 爆料id
sectionType: 1 // 顶级的栏目id:0优惠,1海淘,2 发现,3 晒物,4经验
url: "http://a.c.com/1.do", // pc端焦点图跳转url
createAt: 136521542140000 // 创建时间
}
收藏
favorite: {
favoriteId: 123, // 收藏id
topic: $topic,
userId: 12, // 收藏的用户Id
createAt: 13625123531000
}
试用体验相关实体
试用体验
// TODO:
trial: {
id: 1,
name: '铃木口琴',
num: 1, // 试用数量
applyNum: 12, // 申请人数
status: 1, // 活动状态: 1:...
finalTime: '2014-10-10 10:11:10', // 截止时间
img_540_270: '',
price: 100,
score: 10, // 所需积分
gold: 10, // 所需金币
detail: '', // 试用详情
}
体验类型
trialType: {
id: 1,
name: '数码家电'
}
我的试用
myTrial: {
logo: "http://img.pconline.com.cn/1.png",
title: "申请这个"
date: '2015-02-03 10:10::00',
status: 1 // 状态说明,
experiencereport: {
title: 'test',
id: 12,
status: 1 // 未交报告,已交报告,报告通过,需修改
} // 试用报告
}
编辑自设定属性
设定礼品
setupGift: {
$gift,
seq: 1,
type: 1 // 1 首页 2 广场
}
设定专题
setupSpecial: {
$special
}
设定体验
setupTrial: {
$trial,
seq: seq,
type: 1 // 1 首页 2 广场
}
关键词订阅
subscriptionSecond: {
subscriptionId: 1,
keyword: $subscriptionKeyword,
token: fc4dc55ff69e3d55bf67bb5ba891e628
}
关键词
subscriptionKeyword:{
keywordId:12,
keyword: "ipad"
}
分类订阅
subscription: {
subscriptionId: 10, //分类订阅id
typeId: 288, //爆料分类id
token: fc4dc55ff69e3d55bf67bb5ba891e628 //token
}
标签
topicTag:{
id:1,
name: '土豪',
isHot: 1, // 是否热点标签
isSpecial:0, // 是否特色标签
type:0 // 类型 0 聚超值 1 母婴
}
组合VO对象
首页VO
indexVo: {
type: 1, // 1 爆料 2 推荐位 3 试用 4 优惠券
value: {$topic or $adPosition or $trial or $gift} // 根据type判断这里是什么类型
}
发现爆料筛选条件VO
topicFaxianScreenVo: {
title: "电商商城", //筛选条件名称
type: 1, // 1 电商 2 标签 3 分类
screens: [{$mall}, ... or {$tag}, ... or {$topicType}, ...] // 根据type判断这里是什么类型
}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)