重庆分公司,新征程启航

为企业提供网站建设、域名注册、服务器等服务

android怎么实现用户商品橱窗功能

这篇文章主要介绍了android怎么实现用户商品橱窗功能的相关知识,内容详细易懂,操作简单快捷,具有一定借鉴价值,相信大家阅读完这篇android怎么实现用户商品橱窗功能文章都会有所收获,下面我们一起来看看吧。

创新互联拥有十年的建站服务经验,在此期间,我们发现较多的客户在挑选建站服务商前都非常的犹豫。主要问题集中:在无法预知自己的网站呈现的效果是什么样的?也无法判断选择的服务商设计出来的网页效果自己是否会满意?创新互联业务涵盖了互联网平台网站建设、移动平台网站制作、网络推广、定制网站建设等服务。创新互联网站开发公司本着不拘一格的网站视觉设计和网站开发技术相结合,为企业做网站提供成熟的网站设计方案。

用户商品橱窗Api:

请求Api

http://主机地址/douyin/user/promotions?token=xxx&uid=71105932077&cursor=0

请求方式

GET

参数

字段类型说明
tokenstring接口授权码
uidint用户id
cursorint翻页游标,根据结果返回的cursor传入作为下一页翻页参数,初始为0

返回示例

{
    "code":200,
    "data":{
        "columns":[
            {
                "can_reverse":false,
                "default_sort":0,
                "id":0,
                "name":"综合排序"
            },
            {
                "can_reverse":false,
                "default_sort":0,
                "id":1,
                "name":"销量"
            },
            {
                "can_reverse":false,
                "default_sort":0,
                "id":2,
                "name":"上新时间"
            },
            {
                "can_reverse":true,
                "default_sort":1,
                "id":3,
                "name":"价格"
            }
        ],
        "count":352,
        "extra":{
            "fatal_item_ids":[
            ],
            "logid":"2020091422095701019806020639266AEC",
            "now":1600092597000
        },
        "has_more":true,
        "log_pb":{
            "impr_id":"2020091422095701019806020639266AEC"
        },
        "promotions":[
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            {
                "brand_icon":{
                    "uri":"db00001bcc4cfde8d96a",
                    "url_list":[
                        "http://p3.pstatp.com/origin/db00001bcc4cfde8d96a"
                    ]
                },
                "consumer_comment":null,
                "cos_fee":0,
                "detail_url":"https://haohuo.jinritemai.com/views/product/item2?id=3420911657696812285&origin_type=3002070010&origin_id=71105932077_3420911657696812285&alkey=1128_71105932077_0_3420911657696812285_010",
                "elastic_images":[
                    {
                        "height":720,
                        "uri":"temai/FtsKTipA-dJpYHBR7HYxqJZZ4fnEwww600-601",
                        "url_list":[
                            "/upload/otherpic66/247843.jpg",
                            "/upload/otherpic66/247844.jpg",
                            "/upload/otherpic66/247844.jpg"
                        ],
                        "width":720
                    },
                    {
                        "height":720,
                        "uri":"temai/FiyKM0swr7x_ls1iopxbr_FsTXgWwww600-600",
                        "url_list":[
                            "/upload/otherpic66/247845.jpg",
                            "/upload/otherpic66/247846.jpg",
                            "/upload/otherpic66/247846.jpg"
                        ],
                        "width":720
                    }
                ],
                "elastic_type":1,
                "favorited":false,
                "goods_source":"来自小店",
                "has_gyl":false,
                "images":[
                    {
                        "height":720,
                        "uri":"temai/FtsKTipA-dJpYHBR7HYxqJZZ4fnEwww600-601",
                        "url_list":[
                            "http://p1.pstatp.com/obj/temai/FtsKTipA-dJpYHBR7HYxqJZZ4fnEwww600-601",
                            "http://pb3.pstatp.com/obj/temai/FtsKTipA-dJpYHBR7HYxqJZZ4fnEwww600-601",
                            "http://pb3.pstatp.com/obj/temai/FtsKTipA-dJpYHBR7HYxqJZZ4fnEwww600-601"
                        ],
                        "width":720
                    },
                    {
                        "height":720,
                        "uri":"temai/FiyKM0swr7x_ls1iopxbr_FsTXgWwww600-600",
                        "url_list":[
                            "http://p1.pstatp.com/obj/temai/FiyKM0swr7x_ls1iopxbr_FsTXgWwww600-600",
                            "http://pb3.pstatp.com/obj/temai/FiyKM0swr7x_ls1iopxbr_FsTXgWwww600-600",
                            "http://pb3.pstatp.com/obj/temai/FiyKM0swr7x_ls1iopxbr_FsTXgWwww600-600"
                        ],
                        "width":720
                    }
                ],
                "jump_to_url":false,
                "label":null,
                "market_price":99900,
                "marketing_floors":null,
                "medias":null,
                "meta_param":"%7B%22page_type%22%3A0%7D",
                "min_price":99900,
                "module_control":{
                    "comment":{
                        "visible":true
                    },
                    "order_share":{
                        "visible":true
                    },
                    "store_card":{
                        "visible":true
                    },
                    "store_icon":{
                        "visible":true
                    },
                    "want":{
                        "visible":true
                    }
                },
                "pic_audit_status":null,
                "price":99900,
                "price_tag":"",
                "product_id":"3420911657696812285",
                "promotion_id":"3420911657696812285",
                "promotion_source":6,
                "sales":225,
                "shop_icons":[
                ],
                "status":2,
                "title":"I1C096676 法式方领上衣",
                "toutiao":{
                    "aggregate_page":null,
                    "already_buy":false,
                    "button":{
                        "h6_url":"https://haohuo.jinritemai.com/views/product/buynow?id=3420911657696812285&product_id=3420911657696812285&origin_type=3002070010&origin_id=71105932077_3420911657696812285&disable_activity=0&group_id=0&alkey=1128_71105932077_0_3420911657696812285_010&new_source_type=product_detail&status_bar_color=ffffff&loading_bgcolor=ffffff&hide_nav_bar=1&status_font_dark=1",
                        "order_status":1,
                        "sku_confirm_text":[
                            "确定"
                        ],
                        "small_app_url":"sslocal://microapp?version=v2&app_id=tt7cca0a77e3e0cd15&scene=027001&version_type=current&start_page=pages%2Fproduct-pay%2Fproduct-pay%3Falkey%3D1128_71105932077_0_3420911657696812285_010%26disable_activity%3D0%26new_source_type%3Dproduct_detail%26origin_id%3D71105932077_3420911657696812285%26origin_type%3D3002070010%26product_id%3D3420911657696812285&bdp_log=%7B%22launch_from%22%3A%22full_screen_card%22%2C%22location%22%3A%22click_product%22%7D&bdpsum=bb62544",
                        "text":[
                            "立即购买"
                        ]
                    },
                    "cart_url":"https://haohuo.jinritemai.com/views/cart/index?status_bar_color=ffffff&loading_bgcolor=ffffff&hide_nav_bar=1&status_font_dark=1",
                    "coupon_rule":null,
                    "delivery_delay_text":"下单后15天内发货",
                    "detail_url":"https://haohuo.jinritemai.com/views/product/item2?id=3420911657696812285&origin_type=3002070010&origin_id=71105932077_3420911657696812285&alkey=1128_71105932077_0_3420911657696812285_010",
                    "im_url":"https://im.jinritemai.com/douyin_mobile_customer_from_goods/?fromGoods=3420911657696812285&origin_id=71105932077_3420911657696812285&origin_type=3002070010&alkey=1128_71105932077_0_3420911657696812285_010",
                    "max_price":99900,
                    "min_price":99900,
                    "need_check":true,
                    "order_tma_url":"sslocal://microapp?version=v2&app_id=tt7cca0a77e3e0cd15&scene=027001&version_type=current&start_page=pages%2Fproduct-pay%2Fproduct-pay%3Falkey%3D1128_71105932077_0_3420911657696812285_010%26disable_activity%3D0%26new_source_type%3Dproduct_detail%26origin_id%3D71105932077_3420911657696812285%26origin_type%3D3002070010%26product_id%3D3420911657696812285&bdp_log=%7B%22launch_from%22%3A%22full_screen_card%22%2C%22location%22%3A%22click_product%22%7D&bdpsum=bb62544",
                    "order_url":"https://haohuo.jinritemai.com/views/product/buynow?id=3420911657696812285&product_id=3420911657696812285&origin_type=3002070010&origin_id=71105932077_3420911657696812285&disable_activity=0&group_id=0&alkey=1128_71105932077_0_3420911657696812285_010&new_source_type=product_detail&status_bar_color=ffffff&loading_bgcolor=ffffff&hide_nav_bar=1&status_font_dark=1",
                    "origin_id":"71105932077_3420911657696812285",
                    "origin_type":"3002070010",
                    "shop_name":"涵胖胖大码女装",
                    "virtual_promotion":{
                        "already_buy":false,
                        "is":false
                    }
                },
                "user_shop_categories":null,
                "visitor":{
                    "avatar":[
                        {
                            "uri":"100x100/30ebf0003c1e35fd0e1e5",
                            "url_list":[
                                "/upload/otherpic66/247847.jpg?from=4010531038",
                                "/upload/otherpic66/247849.jpg?from=4010531038",
                                "/upload/otherpic66/247851.jpg?from=4010531038"
                            ]
                        },
                        {
                            "uri":"100x100/tos-cn-avt-0015/0e9cff37376d21868799b6efa5b61a76",
                            "url_list":[
                                "/upload/otherpic66/247852.jpg?from=4010531038",
                                "/upload/otherpic66/247853.jpg?from=4010531038",
                                "/upload/otherpic66/247854.jpg?from=4010531038"
                            ]
                        },
                        {
                            "uri":"100x100/26e1400009f60609d0719",
                            "url_list":[
                                "/upload/otherpic66/247857.jpg?from=4010531038",
                                "/upload/otherpic66/247858.jpg?from=4010531038",
                                "/upload/otherpic66/247859.jpg?from=4010531038"
                            ]
                        },
                        {
                            "uri":"100x100/318c1000c282ce0281fd9",
                            "url_list":[
                                "/upload/otherpic66/247861.jpg?from=4010531038",
                                "/upload/otherpic66/247863.jpg?from=4010531038",
                                "/upload/otherpic66/247865.jpg?from=4010531038"
                            ]
                        },
                        {
                            "uri":"100x100/f9540003473023bc8a0c",
                            "url_list":[
                                "/upload/otherpic66/247866.jpg?from=4010531038",
                                "/upload/otherpic66/247867.jpg?from=4010531038",
                                "/upload/otherpic66/247868.jpg?from=4010531038"
                            ]
                        }
                    ],
                    "count":4658
                }
            }
        ],
        "rows":[
            {
                "id":1,
                "name":"我的",
                "number":66,
                "with_data":true
            },
            {
                "id":2,
                "name":"推荐",
                "number":286,
                "with_data":false
            }
        ],
        "search_hint":"",
        "status_code":0,
        "status_msg":""
    },
    "msg":"success"
}

关于“android怎么实现用户商品橱窗功能”这篇文章的内容就介绍到这里,感谢各位的阅读!相信大家对“android怎么实现用户商品橱窗功能”知识都有一定的了解,大家如果还想学习更多知识,欢迎关注创新互联行业资讯频道。


分享文章:android怎么实现用户商品橱窗功能
转载注明:http://cqcxhl.com/article/jphhch.html

其他资讯

在线咨询
服务热线
服务热线:028-86922220
TOP