gsview.cn-亚洲精品成人无码中文毛片不卡,国产又大又黑又粗免费视频,国产激情电影综合在线看,国产精品夜色一区二区三区

[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

微信咨詢

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

公眾號

掃一掃
關注官方公眾號

抖音號

掃一掃
關注官方抖音號