Showing
1 changed file
with
22 additions
and
0 deletions
amendment_request_model.txt
0 → 100644
1 | +코드 92번줄~ 수정 필요. | ||
2 | + | ||
3 | +//기존 코드 | ||
4 | +body.remainTime = gapHour + "시간" + gapMin + "분 이상"; | ||
5 | + body.ETD_min_H = predictTime[0]; | ||
6 | + body.ETD_min_M = predictTime[1]; | ||
7 | + body.ETD_max_H = predictTime[2]; | ||
8 | + body.ETD_max_M = predictTime[3]; | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | +//수정 요청 코드 | ||
13 | +module.exports.data = {}; | ||
14 | +module.exports.data.remainTime = gapHour + "시간" + gapMin + "분 이상"; | ||
15 | +module.exports.ETD_min_H = predictTime[0]; | ||
16 | +module.exports.ETD_min_M = predictTime[1]; | ||
17 | +module.exports.ETD_max_H = predictTime[2]; | ||
18 | +module.exports.ETD_max_M = predictTime[3]; | ||
19 | + | ||
20 | + | ||
21 | +변수 명 body에 저장하면 파싱 body와 혼선될 가능성 높음. | ||
22 | +exports로 데이터 전송 필요. | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment