update upload
This commit is contained in:
10
server.js
10
server.js
@ -60,11 +60,11 @@ function callInitFileMover(req, res) {
|
|||||||
// The whole response has been received. Print out the result.
|
// The whole response has been received. Print out the result.
|
||||||
resp.on('end', () => {
|
resp.on('end', () => {
|
||||||
//debug
|
//debug
|
||||||
data = `{
|
// data = `{
|
||||||
"construction_id": 3,
|
// "construction_id": 3,
|
||||||
"file_name": "ini_データ入力シート.xlsx",
|
// "file_name": "ini_データ入力シート.xlsx",
|
||||||
"file_type": "dataSheet"
|
// "file_type": "dataSheet"
|
||||||
}`
|
// }`
|
||||||
if(data !== 'no match'){
|
if(data !== 'no match'){
|
||||||
resdata = JSON.parse(data);
|
resdata = JSON.parse(data);
|
||||||
console.log(resdata);
|
console.log(resdata);
|
||||||
|
|||||||
Reference in New Issue
Block a user