...
|
...
|
@@ -51,7 +51,7 @@ |
|
|
| 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.h5hn | 隐藏导航栏页or顶部距离h5控制(种草) | yohobuy={"action":"go.h5hn","params":{"navcolor":"000000","toplayoutByH5":"N"}} | "navcolor:导航栏颜色16进制字符串,toplayoutByH5: Y H5自己控制顶部布局 N原生控制 |
|
|
|
| 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
|
...
|
...
|
|