token: ********************
{
"project_id": 1,
"name": "12121",
"type": "1",
"remark": "3",
"handler_id": 3,
"handler_group_id": 6,
"handle_date": 1746374400,
"date": [
1746374400000,
1749052800000
],
"file_list": [
{
"name": "",
"remark": "",
"size": "10.56",
"edit": false,
"origin_name": "采购明细模板.xlsx",
"index": 0,
"file": {
"file_id": 98,
"file_type": 3
}
}
],
"start_date": 1746374400,
"end_date": 1749052800,
"items": [
{
"construction_date": 1746057600,
"num": 10
},
{
"construction_date": 1748736000,
"num": 20
}
]
}
curl --location --request POST 'http://cmi-api.gleg.site/api/construction-plans' \
--header 'Content-Type: application/json' \
--header 'token;' \
--data-raw '{
"project_id": 1,
"name": "12121",
"type": "1",
"remark": "3",
"handler_id": 3,
"handler_group_id": 6,
"handle_date": 1746374400,
"date": [
1746374400000,
1749052800000
],
"file_list": [
{
"name": "",
"remark": "",
"size": "10.56",
"edit": false,
"origin_name": "采购明细模板.xlsx",
"index": 0,
"file": {
"file_id": 98,
"file_type": 3
}
}
],
"start_date": 1746374400,
"end_date": 1749052800,
"items": [
{
"construction_date": 1746057600,
"num": 10
},
{
"construction_date": 1748736000,
"num": 20
}
]
}'
{}