添加更新订单
<p><strong>简要描述:</strong> </p>
<ul>
<li>添加更新订单</li>
</ul>
<p><strong>请求URL(旧):</strong> </p>
<ul>
<li><code>http://guigui.thinkerx.com/order/add</code>
<strong>新地址:</strong> </li>
<li><code>http://guigui.thinkerx.com/order/new_add</code>
<strong>请求方式:</strong></li>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">map</td>
<td>订单数据</td>
</tr>
</tbody>
</table>
<p><strong>上传数据样式</strong></p>
<pre><code>{
"buyer_address": "测试转发45",
"buyer_phone": "",
"count": 1,
"creator": "",
"customer_id": 0,
"customer_name": "",
"delivery_time": "",
"expand_area": 5.5104,
"factory_num": "1115-39",
"ggid": "http://eggi.cn/oENUrc36",
"id": 43552,
"install_time": "2019-11-30",
"measure_time": "2019-11-15",
"order_code": "1115-39",
"projective_area": 2.1039,
"received_price": "0.00",
"remaining_price": "0.00",
"big_plate_num":8,
"remark": "",
"room": [{
"color": "[]",
"creator": "",
"door": [],
"expand_area": 2.689738256835937,
"forcer": [{
"expand_area": 2.689738256835937,
"forcer_name": "柜@",
"id": "",
"mark": 1,
"price": 0,
"projective_area": 1.7837871034947037,
"size": "1020.3*1748.3*600",
"uid": 4820,
"unique_id": "671722441308351400"
}],
"id": 73810,
"img_url": "http://eggrj.oss-cn-hangzhou.aliyuncs.com/imgs/15744152944430.jpg",
"jin_data": "Y29tcHJlc3NlZAAAIPZ4nO2ZTU8cNxjHv0o0x2q0GnveuVECBYkSBJtQNUKRd9a7O91ZezTjAVKEFPWUtGqLemjUtKhSDz1GfZOK0gNfhqXiW/SxZ4Z9YRc2KWmoNCAx9t9e+7Gfv39jYF8LsgbV5h46hmHopvxhyR/qe1vXOnfDRJszdG1HFZCuNVUB61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xtsKmCqAGL9hELmBcbCWcDYtIinL7xjvSC2F6RKiICBURoSIidDARdISF4JGQszIpxpA2rw61FoU9gKrcccm6Bc5aURgMTpx6MdcHZ3m5PMyXQNjolrN4E4HQnnJnUDOs3IX3vl1UlJ80AJ2FbOyalmH7csIkXJ/cKn2YGx3gd+e9O8jARs2UBbewMZj2QxLDth4oU5holQddWP3D7fwM5z7Ko9rXIB1wwjAMgn3PcpCP8le/hmSDGn2k4QC+9AtKI8/C18L35m4RxluiMn4nVLbGqYydisoVlWelMtzYxrHa4ELw3o1SGRURoTEqG2NUNv4zKj94i1R2plHZca6isnOJyjkE3xzLOX0vobTAtTmmXw/lGX+zu3zFvjWMNitGV4yuGF0x2p3GaNe8itHuOKNt06k5/+LmrBCtBsEecjAyfNO1/ALRyB1tGEP0pL9uTLw3Yw97Yx1v0b3ZqphcMblicsVkbxqTPeMqJnu36t48639EJjD5Ft+bb+5/cBWjK0ZXjP7fMtqfxmjfvYrR/ru/N2/D9z+RC6v1",
"json_url": "http://eggrj.oss-cn-hangzhou.aliyuncs.com/jsons/15744152944430.jin",
"lock": 0,
"lock_password": "",
"mtl_url": "http://eggrj.oss-cn-hangzhou.aliyuncs.com/models/15744152944430.mtl",
"name": "主卧",
"obj_url": "http://eggrj.oss-cn-hangzhou.aliyuncs.com/models/15744152944430.txt",
"parts": [],
"plank_type": "",
"plate": [{
"color": "T01",
"forcer_mark": 1,
"id": "",
"plankId": "35",
"plate_name": "横隔板01",
"plate_other": "{\"gid\":\"I95270005dd7aba9\",\"loc\":\"柜A\",\"partName\":\"柜A_横隔板01\",\"rect\":{\"x\":0,\"y\":0,\"width\":598,\"height\":1019.2984619140625,\"left\":0,\"right\":598,\"top\":0,\"bottom\":1019.2984619140625},\"realRect\":{\"x\":0,\"y\":0,\"width\":598,\"height\":1019.2984619140625,\"left\":0,\"right\":598,\"top\":0,\"bottom\":1019.2984619140625},\"thick\":17,\"plankNum\":\"5744152734059\",\"oriPlankNum\":\"574415273405\",\"edgeInfo\":\"←0.5↓0.5→1.5↑0.5\",\"sholeInfo\":\"\",\"holes\":[],\"sholes\":[],\"slots\":[],\"oRect\":{\"x\":0,\"y\":0,\"width\":600,\"height\":1020.2984619140625,\"left\":0,\"right\":600,\"top\":0,\"bottom\":1020.2984619140625},\"matRotatable\":false}",
"size": "1020.3*600*17",
"type": "颗粒板",
"uid": 4820,
"unique_id": "671722441308351401"
}, {
"color": "T01",
"forcer_mark": 1,
"id": "",
"plankId": "36",
"plate_name": "左立板01",
"plate_other": "{\"gid\":\"I95270005dd7abaa\",\"loc\":\"柜A\",\"partName\":\"柜A_左立板01\",\"rect\":{\"x\":0,\"y\":0,\"width\":598,\"height\":1193.671154296875,\"left\":0,\"right\":598,\"top\":0,\"bottom\":1193.671154296875},\"realRect\":{\"x\":0,\"y\":0,\"width\":598,\"height\":1193.671154296875,\"left\":0,\"right\":598,\"top\":0,\"bottom\":1193.671154296875},\"thick\":17,\"plankNum\":\"5744152734066\",\"oriPlankNum\":\"574415273406\",\"edgeInfo\":\"←0.5↓0.5→1.5↑0.5\",\"sholeInfo\":\"\",\"holes\":[],\"sholes\":[],\"slots\":[],\"oRect\":{\"x\":0,\"y\":0,\"width\":600,\"height\":1194.671154296875,\"left\":0,\"right\":600,\"top\":0,\"bottom\":1194.671154296875},\"matRotatable\":false}",
"size": "600*1194.67*17",
"type": "颗粒板",
"uid": 4820,
"unique_id": "671722441308351402"
}, {
"color": "T01",
"forcer_mark": 1,
"id": "",
"plankId": "37",
"plate_name": "左立板02",
"plate_other": "{\"gid\":\"I95270005dd7abab\",\"loc\":\"柜A\",\"partName\":\"柜A_左立板02\",\"rect\":{\"x\":0,\"y\":0,\"width\":598,\"height\":535.6281621093749,\"left\":0,\"right\":598,\"top\":0,\"bottom\":535.6281621093749},\"realRect\":{\"x\":0,\"y\":0,\"width\":598,\"height\":535.6281621093749,\"left\":0,\"right\":598,\"top\":0,\"bottom\":535.6281621093749},\"thick\":17,\"plankNum\":\"5744152734073\",\"oriPlankNum\":\"574415273407\",\"edgeInfo\":\"←0.5↓0.5→1.5↑0.5\",\"sholeInfo\":\"\",\"holes\":[],\"sholes\":[],\"slots\":[],\"oRect\":{\"x\":0,\"y\":0,\"width\":600,\"height\":536.6281621093749,\"left\":0,\"right\":600,\"top\":0,\"bottom\":536.6281621093749},\"matRotatable\":false}",
"size": "600*536.628*17",
"type": "颗粒板",
"uid": 4820,
"unique_id": "671722441308351403"
}, {
"color": "T01",
"forcer_mark": 1,
"id": "",
"plankId": "38",
"plate_name": "右立板01",
"plate_other": "{\"gid\":\"I95270005dd7abac\",\"loc\":\"柜A\",\"partName\":\"柜A_右立板01\",\"rect\":{\"x\":0,\"y\":0,\"width\":598,\"height\":1193.671154296875,\"left\":0,\"right\":598,\"top\":0,\"bottom\":1193.671154296875},\"realRect\":{\"x\":0,\"y\":0,\"width\":598,\"height\":1193.671154296875,\"left\":0,\"right\":598,\"top\":0,\"bottom\":1193.671154296875},\"thick\":17,\"plankNum\":\"5744152734080\",\"oriPlankNum\":\"574415273408\",\"edgeInfo\":\"←0.5↓0.5→1.5↑0.5\",\"sholeInfo\":\"\",\"holes\":[],\"sholes\":[],\"slots\":[],\"oRect\":{\"x\":0,\"y\":0,\"width\":600,\"height\":1194.671154296875,\"left\":0,\"right\":600,\"top\":0,\"bottom\":1194.671154296875},\"matRotatable\":false}",
"size": "600*1194.67*17",
"type": "颗粒板",
"uid": 4820,
"unique_id": "671722441308351404"
}, {
"color": "T01",
"forcer_mark": 1,
"id": "",
"plankId": "39",
"plate_name": "右立板02",
"plate_other": "{\"gid\":\"I95270005dd7abad\",\"loc\":\"柜A\",\"partName\":\"柜A_右立板02\",\"rect\":{\"x\":0,\"y\":0,\"width\":598,\"height\":535.6281621093749,\"left\":0,\"right\":598,\"top\":0,\"bottom\":535.6281621093749},\"realRect\":{\"x\":0,\"y\":0,\"width\":598,\"height\":535.6281621093749,\"left\":0,\"right\":598,\"top\":0,\"bottom\":535.6281621093749},\"thick\":17,\"plankNum\":\"5744152734097\",\"oriPlankNum\":\"574415273409\",\"edgeInfo\":\"←0.5↓0.5→1.5↑0.5\",\"sholeInfo\":\"\",\"holes\":[],\"sholes\":[],\"slots\":[],\"oRect\":{\"x\":0,\"y\":0,\"width\":600,\"height\":536.6281621093749,\"left\":0,\"right\":600,\"top\":0,\"bottom\":536.6281621093749},\"matRotatable\":false}",
"size": "600*536.628*17",
"type": "颗粒板",
"uid": 4820,
"unique_id": "671722441308351405"
}],
"projective_area": 1.7837871034947037,
"remark": "",
"render_url": "http://eggrj.oss-cn-hangzhou.aliyuncs.com/renderJSON/15744152944430.json",
"room_area": 72,
"style": "",
"substrate": "颗粒板",
"type": "衣柜",
"uid": 4820
}],
"setting": "",
"total_price": "0.00",
"uid": 4820
}</code></pre>
<p><strong>返回示例</strong></p>
<pre><code>{
"status": 1,
"msg": "添加成功",
"data": {
"uid": 2150,
"customer_id": 1,
"buyer_address": "x",
"buyer_phone": "hhahah",
"measure_time": "2019-1-1 1:1:1",
"install_time": "2019-1-1 1:1:1",
"expand_area": 1.1000000000000001,
"projective_area": 1.1000000000000001,
"count": 1,
"remark": "xx",
"creator": "xx",
"update_time": "2019-05-27 19:37:06",
"room_ids": 10503,
"id": 8312,
"total_price":"888",
"big_plate_num":10,
"room": [
{
"uid": 2150,
"name": "hhahah",
"plank_type": "xx",
"type": "xx",
"color": "xxx",
"room_area": 1.1000000000000001,
"expand_area": 1.1000000000000001,
"projective_area": 1.1000000000000001,
"style": "xxx",
"remark": "xx",
"json_url": "xx",
"img_url": "xx",
"obj_url": "xx",
"mtl_url": "xx",
"render_url":"",
"creator": "xx",
"update_time": "2019-05-27 19:37:06",
"id": 10503,
"plate": [
{
"id": 254,
"room_id": 10503,
"type": "实木",
"size": "300*300*18",
"buyer_address": "x",
"buyer": "",
"create_time": "2019-05-27 19:37:06",
"color": "红",
"plate_num": "052719568693",
"ggid": "7fJAR",
"uid": 2150,
"forcer_mark": 1,
"plate_name":"aaaa"
"unique_id":"ccccc",
"plate_other":{}
},
{
"id": 255,
"room_id": 10503,
"type": "实木",
"size": "300*300*18",
"buyer_address": "x",
"buyer": "",
"create_time": "2019-05-27 19:37:06",
"color": "绿",
"plate_num": "052719563026",
"ggid": "9138Q",
"uid": 2150,
"forcer_mark": 2,
"plate_name":"zzzzzzzzzzzz",
"unique_id":"kkkkkkkkk",
"plate_other":{}
}
],
"forcer": [
{
"id": 11,
"room_id": 10503,
"size": "",
"projective_area": "0.33",
"expand_area": "0.30",
"price": "298.00",
"total_price": "98.00",
"buyer_address": "x",
"create_time": "2019-05-27 19:37:06",
"mark": 1,
"uid": 2150,
"forcer_name":"aabbaaaa"
"unique_id":"ccccc"
},
{
"id": 12,
"room_id": 10503,
"size": "",
"projective_area": "0.00",
"expand_area": "0.30",
"price": "0.00",
"total_price": "0.00",
"buyer_address": "x",
"create_time": "2019-05-27 19:37:06",
"mark": 2,
"uid": 2150,
"forcer_name":"ccccccccc"
"unique_id":"kkkkkkkkk"
}
]
}
]
}
}</code></pre>