[[TOC]] = 实体属性说明 = == 爆料: == {{{#!java topic:{ id: 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: image: "http://img0.pcauto.com.cn/12_1.png", //图片 pubDate: "2013-02-03", //时间 good: 20, //值的数量 bad: 1, //不值的数量 collectCount:1, // 收藏数 price: "只售998,还包邮~" //价格 deprecated: 1 //是否过期 currentPrice : "0.00"; //现在价格 discount : "0.0折"; //打折数 formerPrice : "0.00"; //之前价格 eb: "电商名称", overdueStatus: 1, // 是否过期 showSource: 1, // 是否显示直达链接 tryToGetWapSource: "http://www.google.com/" // wap直达链接, hasCoupon: 0, // 是否有优惠券,适用于 优惠,海淘 hdCover: "http://www.google.com/1.png" // 高清图,适用于晒物,经验,试用体验 } }}} == 爆料类型 == {{{#!java topicType: { id: 1, name: '数码家电' } }}} == 发出的评论 == {{{#!java 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" } }}} == 收到的评论 == {{{#!java receiveComment: { $sendComment, userId: 1, // 评论者ID username: "Jason", // 评论者名称 userface: "http://img.pc.com.cn/1.png" // 评论者头像 } }}} == 栏目 == {{{#!java section { value: 1, name: '海淘' } }}} == 栏目搜索结果 == {{{#!java sectionExtend{ value: 1, name: '海淘', count: 12 } }}} **新增属性:** hasCoupon hdCover == 推荐位 == {{{#!java 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 == 礼品 == {{{#!java 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, } }}} == 优惠券 == {{{#!java giftCoupon: { gift: $gift, cardNum: '1232', cardPassword: 's123sdssdfs54212' } }}} == 礼品兑换规则 == {{{#!java giftExchangeRule: { id: 1, giftId: 2, needScore: 10, needGold: 2, limitTimes: 10 } }}} == 代购商家 == {{{#!java 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 // 代购商家名称 } }}} == 专题 == {{{#!java special: { id:1, specialName: "双十一精选", image: "http://img.pconline.com.cn/1.png", url: "http://g.pconline.com.cn/link/a.html" } }}} **新增属性** 新增实体 == 广场入口 == {{{#!java 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" } }}} **新增属性** 新增实体 == 标签 == {{{#!java tag: { id: 1, name: "精选" } }}} == 分类 == {{{#!java topicType: { id: 1, name: "数码家电" } }}} == 电商 == {{{#!java mall: { id: 1, name: "京东", type: 1, // 0国内电商 1国外电商 logo: "http://img.pconline.com.cn/1.png" } }}} == 活动 == {{{#!java activity{ id: 1, title: "亚马逊精选礼品图书满300-100", cover: "", // 获取80x40尺寸的 } }}} == 设置活动 == {{{#!java setupActivity{ $activity, seq: 1 } }}} == 用户信息 == {{{#!java userInfo: { id: 12, status: -1, gold: 10 point: 20, purchasingGold:10, // img 头像从平台获取 logo: "http://img.pc.com.cn/1.png", } }}} == 用户扩展信息 == {{{#!java userExtend: { topicNum: 1, favNum: 10, trialNum: 2, couponNum: 2 } }}} == 焦点图 == {{{#!java 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 不支持 } }}} == 收藏 == {{{#!java 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 // 收藏数 } }}} = 试用体验相关实体 = == 试用体验 == {{{#!java // 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: '', // 试用详情 } }}} == 体验类型 == {{{#!java trialType: { id: 1, name: '数码家电' } }}} == 我的试用 == {{{#!java 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 // 未交报告,已交报告,报告通过,需修改 } // 试用报告 } }}} = 编辑自设定属性 = == 设定礼品 == {{{#!java setupGift: { $gift, seq: 1, type: 1 // 1 首页 2 广场 } }}} == 设定专题 == {{{#!java setupSpecial: { $special } }}} == 设定体验 == {{{#!java setupTrial: { $trial, seq: seq, type: 1 // 1 首页 2 广场 } }}} == 关键词订阅 == {{{#!java subscriptionSecond: { id: 1, keywordId: 12, keyword: 'ipad', mallId: 12, mallName: '亚马逊' } }}} == 标签 == {{{#!java topicTag:{ id:1, name: '土豪', isHot: 1, // 是否热点标签 isSpecial:0, // 是否特色标签 type:0 // 类型 0 聚超值 1 母婴 } }}} = 组合VO对象 = == 首页VO == {{{#!java indexVo: { type: 1, // 1 爆料 2 推荐位 3 试用 4 优惠券 value: {$topic or $adPosition or $trial or $gift} // 根据type判断这里是什么类型 } }}}