...
|
...
|
@@ -51,7 +51,8 @@ |
|
|
| go.new | 新品到着页 | yohobuy={"action":"go.new","params":{"msort":"10","channel":"2"}} |msort在家居频道时配置 cid频道标识 | |
|
|
|
| go.sale | 折扣页 | yohobuy={"action":"go.sale","params":{"msort":"10","channel":"2"}} |msort在家居频道时配置 cid频道标识 | |
|
|
|
| go.share | 分享 | yohobuy={"action":"go.share","params":{"title":"分享的标题","content":"分享的文字内容","url":"分享的URL","pic":"图片链接"}} |
|
|
|
| go.h5 | h5网页(目前用在逛) | yohobuy={"action":"go.h5","params":{"needlogout":"Y","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:5 领券中心,params里的param字段用于url请求时附带的参数,由web任意组合" updateflag标识用于缓存 islogin建议一般设置为N needlogout 需要先退出刷新session |
|
|
|
| go.h5 | h5网页(目前用在逛) | yohobuy={"action":"go.h5","params":{"needlogout":"Y","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","toplayoutByH5":"Y","headerid":"-1"}}} | "type:0 普通 type:1 顶部有喜欢,评论(逛 ),type:5 领券中心,params里的param字段用于url请求时附带的参数,由web任意组合" updateflag标识用于缓存 islogin建议一般设置为N needlogout 需要先退出刷新session oplayoutByH5: Y H5自己控制顶部布局 N原生控制 headerid:-1 进入隐藏导航栏的H5容器 |
|
|
|
| go.h5hn | 隐藏导航栏页or顶部距离h5控制(种草) | yohobuy={"action":"go.h5hn","params":{"navcolor":"000000","toplayoutByH5":"N","url":"http://m.yohobuy.com"}} | url: 落地页 navcolor:导航栏颜色16进制字符串,toplayoutByH5: Y H5自己控制顶部布局 N原生控制 |
|
|
|
| go.weblogin | h5网页调用本地登录 | yohobuy={"action":"go.weblogin","params":{"needlogout":"Y","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可并行请求接口和刷新网页",needlogout 需要退出刷新session }} |
|
|
|
| go.activity | h5活动页 | yohobuy={"action":"go.activity","params":{"act_id":"4","act_title":"春装五折起", "islogin":"Y", "link":"http://m.yohobuy.com/get-red-envelope-1111.html"}} | 兼容老版本跳转 |
|
|
|
|go.guangchannel | 跳转到逛频道/ShOw晒单页 |yohobuy= {"action":"go.guangchannel","params":{"id":"分类的id","name":"类别名","index":"0"}} |index缺省或者值为0时跳转到逛,index=1跳转到社区,index=2跳转到ShOw
|
...
|
...
|
@@ -106,8 +107,13 @@ |
|
|
|go.associatorgift | 会员礼包 |{"action":"go.associatorgift"} |
|
|
|
|go.promotion | 促销商品列表 | {"action":"go.promotion","params":{"title":"主标题","promotiontitle":"促销标题","promotion_id":"108"}} | title:页面标题 promotiontitle:促销标题 promotion_id:促销id
|
|
|
|go.searchlist | 模糊搜索列表页 | {"action":"go.searchlist","params":{"keyword":"店铺名字"}} | keyword:店铺名字 keyword信息会显示顶部的搜索框
|
|
|
|go.userLogout | 账号注销 | {"title":"账号注销","type":"userLogout"} |title为页面名称,type指定注销页面,其中type类型有:'userLogout'账户注销页,'userLogoutClause'注销条款页面,'userLogouReason'注销原因页面,'userLogoutFaildReason'注销失败原因页面,'userLogoutFaild'注销失败页面,'userLogoutStatus'注销状态页面
|
|
|
|go.minealliance | 我的联盟 | {"action":"go.minealliance","params":{"title":"我的联盟"}} | title:页面标题
|
|
|
|go.ufo | 球鞋市集UFO | {"action":"go.ufo","params":{"pagename":"home"}} | 更多参数参数见[UFO 跳转规则](http://git.yoho.cn/ufo/mobileApi/blob/master/go_ufo_rules.md)
|
|
|
|
|
|
|
|
|
|go.miniapp | 小程序落地页规则 | yohobuy={"action":"go.miniapp","params":{"username":"gh_afb5ac7a8f9d","path":"/pages/index/index","debugmode":"1"}} | username,小程序标识 gh_afb5ac7a8f9d表示有货精选gh_e55f5aae07b7表示限定小程序 path,小程序落地页面路径,缺省到小程序首页 开发人员配置选项debugmode,1表示开发版 2表示体验版 0 or字段缺省表示正式版本
|
|
|
|go.switchchannel | 男女首页切换规则 | {"action":"go.switchchannel","params":{"channel":"1","tip":"您已切换到男生频道"}} | channel:1 男生 2女生 3潮童 4创意生活 tip:切换到channel频道的提示
|
|
|
|go.switchchannel | 男女首页切换规则 | {"action":"go.switchchannel","params":{"channel":"1","tip":"您已切换到男生频道"}} | v6.9.4版本后channel值使用首页的channelid值, channel:1男装 2女装 3潮童 1469高街BLK 1951创意生活 2073球鞋 tip:切换到channel频道的提示
|
|
|
|go.mineredpackage | 跳转至6.7.9新增的我的红包页 | {"action":"go.mineredpackage"} |
|
|
|
### 新增推送(push)方式,兼容现有新跳转规则(统一有货 App跳转规则)
|
|
|
|
...
|
...
|
|