• 购物车-列表
    • request
    • response

    购物车-列表

    request

    method :get

    URLindex.php?g=Shop&m=Cart&a=index

    字段 类型 是否必须 描述

    response

    1. {
    2. "status": 1,
    3. "url": "",
    4. "state": "success",
    5. "info": [
    6. {
    7. "id": "1675",
    8. "user_id": "15",
    9. "session_id": "b80181d9794ccaaa2fbaa8d61a03da9f",
    10. "goods_id": "39",
    11. "goods_sn": "TP0000039",
    12. "goods_name": "华为(HUAWEI) M2 10.0 平板电脑 WiFi 月光银",
    13. "market_price": "2388.00",
    14. "goods_price": "4200.00",
    15. "member_goods_price": "4200.00",
    16. "goods_num": "2",
    17. "spec_key": "41_48_52",
    18. "spec_key_name": "尺寸:7寸及以下 内存:32G 颜色:黑色",
    19. "bar_code": "",
    20. "selected": "0",
    21. "add_time": "1480144275",
    22. "prom_type": "0",
    23. "prom_id": "0",
    24. "sku": ""
    25. }
    26. ]
    27. }

    ps: 失败返回 status != 1,具体看msg信息

    登录成功之后返回的shop_user表上的信息。