• <button id="gm4gu"><input id="gm4gu"></input></button>
  • <abbr id="gm4gu"></abbr>

    [TOC]

    簡要描述
    • 獲取料單詳情接口

    請求URL
    • https://ggtools.thinkerx.com/open-api/material

    請求方式
    • POST

    參數

    content_type: application/json

    參數名必選類型說明
    app_keystring平臺簽發key
    timestampstring時間戳,精確到秒
    room_idinteger房間id,與訂單id必填其一
    order_idinteger訂單id,與房間id必填其一

    注意:請求接口需攜帶簽名和token

    返回示例
    {
        "status": 1,
        "msg": "請求成功",
        "data": {
            "panelData": [
                {
                    "name": "主臥_柜A_左立板01",
                    "height": 1414.0599999999999,
                    "width": 598,
                    "o_height": 1415.0599999999999,
                    "o_width": 600,
                    "color": "T01",
                    "thick": "18",
                    "count": 1,
                    "note": "",
                    "room": "主臥",
                    "cabinet": "柜A",
                    "texture": "normal",
                    "left_edge": 1.5,
                    "right_edge": 0.5,
                    "down_edge": 0.5,
                    "up_edge": 0.5,
                    "barcode": "6783240157904",
                    "category": "多層實木",
                    "parent_name": "柜A",
                    "holes_name": "3孔",
                    "holes": [
                        {
                            "type": "hole",
                            "deep": 8,
                            "side": 1,
                            "center": {
                                "x":31.5,
                                "y": 696.6799433593751
                            },
                            "ocenter": {
                                "x": 32,
                                "y": 697.1799433593751
                            },
                            "diameter": 10,
                            "holeType": "preHole",
                            "symbol": "3in1Lock"
                        }
                    ],
                    "slots": [
                        {
                            "type": "slot",
                            "deep": 10,
                            "side": -1,
                            "pt1": {
                                "x": 56.122,
                                "y": 40
                            },
                            "pt2": {
                                "x": 56.122,
                                "y": 440
                            },
                            "opt1": {
                                "x": 57.122,
                                "y": 41
                            }
                            "opt2": {
                                "x": 57.122,
                                "y": 441
                            },
                            "width": 10,
                            "symbol": "YXJ",
                            "uniqueId": 6
                        }
                    ],
                    "sholes": [],
                    "sslots": [],
                    "gg_code": "uv{|001",
                    "type": 1,
                    "is_alien": 0,
                    "board_type": 1,
                    "special_process": "",
                    "panel_no": 1
                },
                {
                    "name": "主臥_柜A_橫隔板01",
                    "height": 955.1900000000001,
                    "width": 598,
                    "o_height": 957.1900000000001,
                    "o_width": 599,
                    "color": "T01",
                    "thick": "18",
                    "count": 1,
                    "note": "",
                    "room": "主臥",
                    "cabinet": "柜A",
                    "texture": "normal",
                    "left_edge": 0.5,
                    "right_edge": 0.5,
                    "down_edge": 1.5,
                    "up_edge": 0.5,
                    "barcode": "6783240157935",
                    "category": "多層實木",
                    "parent_name": "柜A",
                    "holes_name": "6孔",
                    "holes": [
                        {
                            "type": "hole",
                            "deep": 18,
                            "side": 1,
                            "center": {
                                "x": 31.5,
                                "y": 32.5
                            },
                            "ocenter": {
                                "x": 32,
                                "y": 33
                            },
                            "diameter": 15,
                            "holeType": "bigHole",
                            "symbol": "3in1Lock",
                            "uniqueId": 6
                        }
                    ],
                    "slots": [],
                    "sholes": [
                        {
                            "type": "shole",
                            "deep": 33,
                            "side": 4,
                            "center": {
                                "x": 32,
                                "y": 9,
                                "z": 600
                            },
                            "ocenter": {
                                "x": 32,
                                "y": 0
                            },
                            "diameter": 8,
                            "holeType": "sideHole",
                            "symbol": "3in1Lock",
                            "uniqueId": 6
                        }
                    ],
                    "sslots": [],
                    "gg_code": "uv{|002",
                    "type": 1,
                    "is_alien": 0,
                    "board_type": 1,
                    "special_process": "",
                    "panel_no": 2
                }
            ],
            "addonData": [
                {
                    "name": "連接件",
                    "spec": "三合一",
                    "unit": "個",
                    "count": 3,
                    "note": "",
                    "room": "主臥",
                    "cabinet": "柜A"
                }
            ],
            "edgeData": [
                {
                    "type": "panel",
                    "thick": 1.0,
                    "width": 18.0,
                    "color": "T01",
                    "length": 500.0
                },
                {
                    "type": "panel",
                    "thick": 0.5,
                    "width": 9.0,
                    "color": "T01",
                    "length": 450.0
                },
                {
                    "type": "door",
                    "thick": 1.5,
                    "width": 18.0,
                    "color": "暖白",
                    "length": 1000.0
                }
            ]
        }
    }

    響應參數說明

    參數名類型說明
    statusint響應狀態, 1為成功, 0為失敗
    msgstring響應提示信息
    dataobject{array[panelData], array[addonData], array[edgeData]}響應數據, panelData 為板件數據, addonData 為五金數據, edgeData 為封邊用量數據

    panelData

    參數名類型說明
    namestring(房間_柜體_)板件名
    heightfloat板子去封邊高度, 單位毫米
    widthfloat板子去封邊寬度, 單位毫米
    o_heightfloat板子成品高度, 單位毫米
    o_widthfloat板子成品寬度, 單位毫米
    colorstring柜體色卡
    thickstring板件厚度, 單位毫米
    countint板件數量
    notestring備注
    roomstring房間名
    cabinetstring柜體名
    texturestring紋理方向 normal: 豎紋, reverse: 橫紋, notcare: 無紋理
    edge_bandingstring封邊信息
    left_edgefloat左封邊, 單位毫米
    right_edgefloat右封邊, 單位毫米
    down_edgefloat下封邊, 單位毫米
    up_edgefloat上封邊, 單位毫米
    barcodestring板件條碼
    categorystring板件材質
    parent_namestring父級名稱
    holes_namestring孔槽名稱
    holesarray[hole_object]正反面孔數據
    slotsarray[slot_object]正反面槽數據
    sholesarray[hole_object]側面孔數據
    sslotsarray[slot_object]側面槽數據
    gg_codestring板件在柜柜中的唯一編碼, 生成二維碼時, 需要在前面拼接上 http://eggi.cn/÷ 生成完整的地址
    typeint板件所屬類型:1: 柜體, 2:板式門, 3:玻璃門, 4: 吸塑門, 5: 拼框門, 6: 移門
    is_alienint是否是異性
    board_typeint特殊板類型, 1: 普通板, 2: 單板, 3: 收口條
    special_processstring特殊工藝:異形, 抽面, 開燈槽, 門型槽, 拉直器, 圓弧踢腳
    panel_noint板件編號
    hole_object
    參數名類型說明
    typestring孔分類, hole 為正反面孔, shole 為側面孔
    deepfloat孔深度
    sideint孔所在方向, 正反面孔: 1為正面孔, -1為反面孔; 側面孔: 1為左側孔, 2為下側孔, 3為右側孔, 4為上側孔
    centerobject正反面孔: 相對板件不帶封邊的坐標, 側面孔: 相對板件側面視角的坐標
    ocenterobject相對板件帶封邊成品的坐標
    diameterfloat孔直徑
    holeTypestring孔類型, 如 bigHole: 當 symbol 為 3in1Lock 時表示三合一的偏心件大孔, 為 henge 時表示
    symbolstring孔標識, 通常為連接件名, 如 3in1Lock 表示三合一連接件, henge 表示合頁(鉸鏈)
    uniqueIdint孔序號
    slot_object
    參數名類型說明
    typestring槽分類, slot 為正反面槽, sslot 為側面槽
    deepfloat槽深度
    sideint槽所在方向, 值含義同孔
    pt1object槽開始端點坐標, 坐標原點同正反面孔和側面孔
    pt2object槽結束端點坐標
    opt1object相對板件帶封邊成品的槽起始端點坐標
    opt2object相對板件帶封邊成品的槽結束端點坐標
    widthfloat槽寬度
    symbolstring槽標識
    uniqueIdint槽序號

    addonData

    參數名類型說明
    namestring五金名稱
    specstring五金規格
    unitstring五金單位
    countint五金個數
    notestring相關備注
    roomstring五金所屬房間名稱
    cabinetstring五金所屬柜體名稱

    edgeData

    參數名類型說明
    typestring分類, panel 表示柜體板材的封邊, door 表示柜門板材的封邊
    thickfloat封邊條厚度, 單位毫米
    widthfloat封邊條寬度(板材厚度), 單位毫米
    colorstring封邊條/板材色卡(顏色)
    lengthfloat封邊條用量(長度), 單位毫米

    響應失敗示例

    {
        "status": 0,
        "msg": "不支持的數據格式",
        "data": {}
    }
    
    {
        "status": 0,
        "msg": "缺少必要參數",
        "data": {}
    }

                       


    新格爾累計為
    7368555
    位用戶提供服務

    客服熱線

    聯系電話:400-1567-080

    微信咨詢

    掃碼在線咨詢
    企微官網客服在線隨時答復

    公眾號

    掃一掃
    關注官方公眾號

    抖音號

    掃一掃
    關注官方抖音號

    亚洲综合精品香蕉久久网| 日日躁夜夜躁狠狠久久AV| 欧美牲交a欧美牲交aⅴ久久| 久久精品国产亚洲AV网站| 国产精品久久久久久久小说| 久久99久久99精品免观看不卡| 精品无码人妻久久久久久| 色综合久久中文色婷婷| 久久久久久九九精品久小说| 国产香蕉97碰碰久久人人| 青青草国产免费久久久91| 久久久久免费看成人影片| 中文字幕日本人妻久久久免费| 国产69精品久久久久999三级| 精品一二三区久久aaa片| 久久影院秋霞理论| 久久久这里有精品中文字幕| WWW国产亚洲精品久久麻豆| 久久精品无码一区二区无码| 国产V亚洲V天堂无码久久久| 久久久久亚洲AV无码专区桃色| 国产午夜av无码无片久久96| 亚洲伊人久久大香线焦| 亚洲成人精品久久| 久久国产精品麻豆映画| 中文字幕人妻色偷偷久久 | 日韩美女18网站久久精品| 久久亚洲一区二区| 色婷婷久久久SWAG精品| 久久久这里有精品| 久久久久久久久波多野高潮| 久久99国产精品| 亚洲va久久久噜噜噜久久| 中文字幕无码久久人妻| 狠狠人妻久久久久久综合蜜桃| 国产精品久久久久久久久电影网| 国产毛a片啊久久久久久| 人妻无码久久精品人妻| 久久久久久久91精品免费观看| 91久久香蕉国产线看观看软件| 久久久久久九九99精品|