| Version 15 (modified by pengzhanxuan, 11 years ago) (diff) |
|---|
Table of Contents
实体属性说明
爆料:
topic:{
topicId: 2395585,
showSourceDesc: "显示直达链接", // 是否显示直达链接:不显示直达链接,显示直达链接
sectionDesc: "发现", // 栏目描述 "优惠", "海淘", "发现", "晒物", "经验", "海淘晒物", "海淘经验", "试用体验", "专题"
commentNum: 0, //评论数
title: "有钱你就来", //标题
section: 1, // 栏目:0 优惠 1 海淘 2 发现 3 晒物 4 经验 5 海淘晒物 6 海淘经验 7 试用体验 8 专题
topSection: 1 // 顶级的栏目id:0优惠,1海淘,2 发现,3 晒物,4经验
isSupportPurchasing: 1, // 是否支持代购
brandId: 1, // 品牌ID
shortTitle: "超值商品推荐" // 短标题
topicCount: {
topicId: 2395585,
favoriteCount: 10 // 收藏数
},
formerPrice: 20.01, // 原价
currentPrice: 20.00, // 现价
discount: 0.85, // 折扣
topicType: {
id: 1,
name: '数码家电'
}, // 爆料类型
topicTagList:[$topicTag], // 聚超值标签
topicBabyTagList:[$topicTag], // 母婴生活馆标签
mallName: "京东", // 电商名称
hdCover: "http://img.pconline.com.cn/1.png", // 2:1图片
mallId: 1, // 电商id
title: "今日特惠", // 标题
price: "五折对低价199", // 价格描述
findPlace: "魅族官网", // 发现地
source: "http://detail.tmall.com/item.htm?spm=a220m.1000858.1000725.6.P2Y1D2&id=36688625539&areaId=&user_id=1803692106&is_b=1&cat_id=2&q=lumia+525&rn=07e8762161389369ece15346c5136044", // 默认链接
wapSource: "", // 默认wap连接
sourceMore: 1, // 是否多链接
findPlaceOption:1, // 来源标识 0:电商 1: 第三方
activityUrl: "http://best.pconline.com.cn", // 优惠活动链接
pubDate: 13215412512000, // 发布时间,时间戳 毫秒
goldAount: 10, // 爆料者获得的金币
top: 1, // 是否置顶
overdueStatus: 1, // 是否过期
recommendIndex: 1, // 是否推荐首页
commentCount: 10, // 评论数量
goodCount: 2, // 好评数
badCount:3, // 差评数
topicImages: [
"http://img.pc.com.cn/1.png",
"http://img.pc.com.cn/1.png",
"http://img.pc.com.cn/1.png"
],
endTime: 13251245121000, // 优惠截止时间
sources:[{$topicSource}], // 爆料来源
topicTypes:[$topicType],
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, // 新增数量
totalCount: 20 // 总数量
},
purchasingCount: {
topicId: 123,
addCount: 12, // 新增数量
totalCount: 20 // 总数量
},
isPurchasing: 1, // 当前爆料该商家是否已经代购
leastLevel: $topicType, // 最低级分类
firstLevel: $topicType, // 爆料一级分类
isWlt:1, // 是否瓦拉淘支持的电商
wltAlert: "http://best.pconline.com.cn/1.action", // 获得瓦拉淘降价提醒的链接
mallType: 1 // 0 国内电商 1 国外电商
hasCoupon: 0, // 是否有优惠券,适用于 优惠,海淘
image: "",
hdCover: "http://www.google.com/1.png" // 高清图,适用于晒物,经验,试用体验
}
爆料类型
topicType: {
id: 1,
name: '数码家电'
}
爆料标签
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: ""
}
发出的评论
sendComment: {
commentId: 37283120,
currentFloor: 2,
formatCreateAt: "2014-10-29 09:40:58",
isSupportPurchasing: 0,
replyRefContent: ""看起来不错哦"",
sentNickName: "qz31244533",
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,
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",
userLogo: "http://i1.3conline.com/images/upload/upc/face/28/46/70/67/28467067_100x100",
userface: "http://i1.3conline.com/images/upload/upc/face/31/24/45/33/31244533_100x100",
username: "arthinking"
}
收到的评论
receiveComment: {
$sendComment,
userId: 1, // 评论者ID
username: "Jason", // 评论者名称
userface: "http://img.pc.com.cn/1.png" // 评论者头像
}
栏目
section {
value: 1,
name: '海淘'
}
栏目搜索结果
sectionExtend{
value: 1,
name: '海淘',
count: 12
}
新增属性:
hasCoupon hdCover
推荐位
adPosition:{
adId: 51,
adTitle: "好东西哇",
createTime: "2014-09-25 14:15:55",
imageUrl: "",
imageUrl_70x70: "",
positionIndex: 5,
topic: {
$topic
},
url: "http://g.pconline.com.cn/a/73727.html",
urlType: 1, // 1 爆料 2 网页,
seq:3 // 排序,插入到首页的位置
}
新增属性
seq
礼品
gift: {
id: 1
mallName: '京东', // 电商名称
mallId: 12,
squareImg: "http://img.pconline.com.cn/2.png", // 正方形图片
rectangleImg: "http://img.pconline.com.cn/1.png", // 2:1长方形图片
name: '京东优惠券', // 标题
expiryDate: '2015-02-28 10:10:00',
mallUrl: "http://www.abc.com", // 优惠券电商链接
giftExchangeRule: $giftExchangeRule,
}
优惠券
giftCoupon: {
gift: $gift,
cardNum: '1232',
cardPassword: 's123sdssdfs54212'
}
礼品兑换规则
giftExchangeRule: {
id: 1,
giftId: 2,
needScore: 10,
needGold: 2,
limitTimes: 10
}
代购商家
purchasing: {
id: 1,
linkForApp: "http://www.taobao.com/item_1.html", // 代购地址
userface: "http://img.pconline.com.cn/1.png", // 代购商家头像
description: "超值代购", // 代购商家描述
hasSpotGoods: 1, // 是否有现货:0 现货/1 代购
price: 123, // 价格
username: best12 // 代购商家名称
}
专题
special: {
id:1,
specialName: "双十一精选",
image: "http://img.pconline.com.cn/1.png",
url: "http://g.pconline.com.cn/link/a.html"
}
新增属性
新增实体
广场入口
sunplazaEntry: {
type: 1, // 1 标签爆料列表,2 分类爆料列表,3 电商爆料列表,4 爆料终端页,5 专题页,6 试用详情页,7 外链
tag: {$tag},
topicType: {$topicType},
mall: {},
topic: {$topic},
special: {$special},
url: "http://best.pconline.com.cn/activity.html"
}
新增属性
新增实体
标签
tag: {
id: 1,
name: "精选"
}
分类
topicType: {
id: 1,
name: "数码家电"
}
电商
mall: {
id: 1,
name: "京东",
type: 1, // 0国内电商 1国外电商
logo: "http://img.pconline.com.cn/1.png"
}
活动
activity{
id: 1,
title: "亚马逊精选礼品图书满300-100",
cover: "", // 获取80x40尺寸的
}
设置活动
setupActivity{
$activity,
seq: 1
}
用户信息
userInfo: {
id: 12,
status: -1,
gold: 10
point: 20,
purchasingGold:10,
// img 头像从平台获取
logo: "http://img.pc.com.cn/1.png",
}
用户扩展信息
userExtend: {
topicNum: 1,
favNum: 10,
trialNum: 2,
couponNum: 2
}
焦点图
focusImage: {
topicId: 125, // 爆料id
sectionType:1 // 爆料栏目类型: 0发现,1优惠,2海淘,3晒物,4经验
title: "现货直接买!iPhone6 Plus 64G三网通5K1",
image: "http://img.pconline.com.cn/7.jpg",
seq: 1,
isSupportPurchasing: 1, // 是否支持代购 1 支持 0 不支持
}
收藏
collect: {
id: 123,
title: "",
time: "",
price": "",
eb": "",(电商名称)
image": "http://xxx",
topicType: 2, // 0发现,1优惠,2海淘,3晒物,4经验
invalid": 0, (1已失效,0未失效)
good: 20, //值的数量
bad": 2, //不值的数量
commentNum: 1, //评论数
createName:"Jason", // 作者
collectCount:1 // 收藏数
}
试用体验相关实体
试用体验
// 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: {
id: 1,
keywordId: 12,
keyword: 'ipad',
mallId: 12,
mallName: '亚马逊'
}
标签
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判断这里是什么类型
}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)