CICP

以客户为中心的数智协作平台


商品服务列表

请求路由url

api/goods/getGoodsServiceList

请求方式

get

请求参数

参数 说明 类型 是否必要
goods_id 商品ID int
goods_no 商品编号 string

请求结果

 {
  "code": 1,
  "msg": "",
  "time": "1648604159",
  "data": [
    {
      "service_name": "软件年限",
      "child": [
        {
          "id": "E02000011",
          "service_name": "一年",
          "price": 1
        },
        {
          "id": "E02000012",
          "service_name": "两年",
          "price": 0
        },
        {
          "id": "E02000013",
          "service_name": "三年",
          "price": 0
        },
        {
          "id": "E02000014",
          "service_name": "终身",
          "price": 0
        }
      ]
    },
    {
      "service_name": "保修年限",
      "child": [
        {
          "id": "E02000009",
          "service_name": "一年",
          "price": 1
        },
        {
          "id": "E02000006",
          "service_name": "两年",
          "price": 0
        },
        {
          "id": "E02000007",
          "service_name": "三年",
          "price": 0
        }
      ]
    }
  ]
}

备注

每次切换规格都要请求一次服务接口,每个规格对应不同的服务,某个规格不返回则不显示服务

页面列表

ITEM_HTML