Authored by 朱小军

新增发现好货,补充go.h5的type类型

... ... @@ -94,6 +94,7 @@
|go.birthCoupons | 我的生日券领取 | yohobuy={"action":"go.birthCoupons"} |
|go.orderService | 退换货列表 | yohobuy={"action":"go.orderService"} |
|go.blkbrandcategory | BLK品牌品类页 | yohobuy={"action":"go.blkbrandcategory","params":{"actiontype":"0"}} |actiontype:0表示BLK品牌,1表示BLK品类页,2全部分类页
|go.findgoodgoods | 发现好货(v5.5) | yohobuy={"action":"go.findgoodgoods"} |
### 新增推送(push)方式,兼容现有新跳转规则(统一有货 App跳转规则)
... ... @@ -115,7 +116,7 @@
| go.new | 新品到着页 | {"type": "push","url":{"action":"go.new","params":{"msort":"10","channel":"2"}}} |msort在家居频道时配置 cid频道标识 | |
| go.sale | 折扣页 | {"type": "push","url":{"action":"go.sale","params":{"msort":"10","channel":"2"}}} |msort在家居频道时配置 cid频道标识 | |
| go.share | 分享 | {"type": "push","url":{"action":"go.share","params":{"title":"分享的标题","content":"分享的文字内容","url":"分享的URL","pic":"图片链接"}}} |
| go.h5 | h5网页(目前用在逛) |{"type": "push","url":{"action":"go.h5","params":{"id":"74","share":"/guang/api/v1/share/guang?id=74","shareparam":{"id":"74"},"islogin":"Y","type":1,"updateflag":"2adfw4e243abdefwqg1234dfarq","url":"http://guang.m.yohobuy.com/info/index","param":{"id":"74"}}}} | "type:0 普通 type:1 顶部有喜欢,评论(逛 ), type:2 秒杀H5页面,type:3 秒杀原生页面(原生根据开关状态选择加载页面),type:5 领券中心,type:7 明星原创详情页,type:11 逛页面中编辑推荐, type:12 逛页面tag列表, type:13 学生认证,params里的param字段用于url请求时附带的参数,由web任意组合" updateflag标识用于缓存 islogin建议一般设置为N |
| go.h5 | h5网页 |{"type": "push","url":{"action":"go.h5","params":{"id":"74","share":"/guang/api/v1/share/guang?id=74","shareparam":{"id":"74"},"islogin":"Y","type":1,"updateflag":"2adfw4e243abdefwqg1234dfarq","url":"http://guang.m.yohobuy.com/info/index","param":{"id":"74"}}}} | "type:0 普通 type:1 顶部有喜欢,评论(逛 ), type:2 秒杀H5页面,type:3 秒杀原生页面(原生根据开关状态选择加载页面),type:5 领券中心,type:7 明星原创详情页,type:9 5.5版本是app的套餐,5.5之前是H5的套餐,type:11 逛页面中编辑推荐, type:12 逛页面tag列表, type:13 学生认证,params里的param字段用于url请求时附带的参数,由web任意组合" updateflag标识用于缓存 islogin建议一般设置为N |
| go.weblogin | h5网页调用本地登录 | {"type": "push","url":{"action":"go.weblogin","params":{"jumpurl":{"url":"http://guang.m.yohobuy.com/info/index,//用于本地登录成功后webView需要跳转的页面url,可以是当前页也可以是其他页","param":{"id":"74"}},"requesturl":{"param":{"id":"56","query":"aaaaaa"},"url":"http://guang.m.yohobuy.com/info/index,//用于本地登录成功后本地发出的httpRequest,可以是对任意接口调用,param字段传请求时的参数"},"priority":"Y或者N, Y则请求接口结束后再刷新网页。N可并行请求接口和刷新网页"}}} |
| go.activity | h5活动页 | {"type": "push","url":{"action":"go.activity","params":{"act_id":"4","act_title":"春装五折起", "islogin":"Y", "link":"http://m.yohobuy.com/get-red-envelope-1111.html"}}}| 兼容老版本跳转 |
|go.guangchannel | 跳转到逛频道/ShOw晒单页 |{"type": "push","url":{"action":"go.guangchannel","params":{"id":"分类的id","name":"类别名","index":"0"}}}|index缺省或者值为0时跳转到逛,index=1跳转到社区,index=2跳转到ShOw
... ...